Fix Java build.
This commit is contained in:
parent
3b2ca7508f
commit
29ea8e8591
@ -124,6 +124,9 @@ sed -e "s|\$(OCAMLMKLIB) -L.*|& -g -ldopt '$RPM_LD_FLAGS'|" \
|
|||||||
-e "/CMXS/s|-linkall|-ccopt '$RPM_LD_FLAGS' &|" \
|
-e "/CMXS/s|-linkall|-ccopt '$RPM_LD_FLAGS' &|" \
|
||||||
-i vars.mk
|
-i vars.mk
|
||||||
|
|
||||||
|
# The "java -version" output has an extra line we don't want
|
||||||
|
sed -i 's/head -1/head -2 | tail -1/' configure
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# This is NOT an autoconf-generated script. Do not use %%configure
|
# This is NOT an autoconf-generated script. Do not use %%configure
|
||||||
export CPPFLAGS="-D_GNU_SOURCE"
|
export CPPFLAGS="-D_GNU_SOURCE"
|
||||||
|
Loading…
Reference in New Issue
Block a user