From af3640a7ed6cf4ade90104ddffbafbb8779a20e7 Mon Sep 17 00:00:00 2001 From: gbenson Date: Fri, 29 Apr 2005 11:28:41 +0000 Subject: [PATCH] Pass the appropriate flags through --- ant.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 # -----------------------------------------------------------------------------