From af3640a7ed6cf4ade90104ddffbafbb8779a20e7 Mon Sep 17 00:00:00 2001 From: gbenson Date: Apr 29 2005 11:28:41 +0000 Subject: Pass the appropriate flags through --- diff --git a/ant.spec b/ant.spec index 0a599bc..5fb97c5 100644 --- a/ant.spec +++ b/ant.spec @@ -352,7 +352,10 @@ sh build.sh --noconfig jars javadocs # BC-compile the two core jars for jar in %{name} %{name}-launcher; do - aot-compile build/lib/$jar.jar build/lib/lib$jar.jar.so + aot-compile \ + build/lib/$jar.jar \ + build/lib/lib$jar.jar.so \ + "$RPM_OPT_FLAGS -fPIC" done # -----------------------------------------------------------------------------