use with_java when setting GCJFLAGS
This commit is contained in:
parent
48daadd306
commit
f73701c30d
@ -101,10 +101,7 @@ export JAR=fastjar
|
||||
--disable-java --disable-native-java \
|
||||
%endif
|
||||
--disable-rpath
|
||||
make %{?_smp_mflags} \
|
||||
%if %{with java}
|
||||
GCJFLAGS="-findirect-dispatch"
|
||||
%endif
|
||||
make %{?_smp_mflags} %{?with_java:GCJFLAGS="-findirect-dispatch"}
|
||||
|
||||
|
||||
%install
|
||||
|
Loading…
Reference in New Issue
Block a user