use with_java when setting GCJFLAGS

This commit is contained in:
Jens Petersen 2009-06-23 00:49:13 +00:00
parent 48daadd306
commit f73701c30d

View File

@ -101,10 +101,7 @@ export JAR=fastjar
--disable-java --disable-native-java \ --disable-java --disable-native-java \
%endif %endif
--disable-rpath --disable-rpath
make %{?_smp_mflags} \ make %{?_smp_mflags} %{?with_java:GCJFLAGS="-findirect-dispatch"}
%if %{with java}
GCJFLAGS="-findirect-dispatch"
%endif
%install %install