From f73701c30d79f2281093d46563ce429d99b16281 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 23 Jun 2009 00:49:13 +0000 Subject: [PATCH] use with_java when setting GCJFLAGS --- gettext.spec | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gettext.spec b/gettext.spec index a5d9890..ae5fed6 100644 --- a/gettext.spec +++ b/gettext.spec @@ -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