summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep5
1 files changed, 3 insertions, 2 deletions
diff --git a/acprep b/acprep
index f95ca98f..2d40b341 100755
--- a/acprep
+++ b/acprep
@@ -22,9 +22,10 @@ if [ "$1" = "--debug" ]; then
CXXFLAGS="-g" --enable-debug --disable-shared
elif [ "$1" = "--opt" ]; then
./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" \
- CXXFLAGS="-fomit-frame-pointer -fastf -mcpu=7450" --disable-shared
+ CXXFLAGS="-fomit-frame-pointer -fastf -mcpu=7450 -fPIC" --disable-shared
elif [ "$1" = "--perf" ]; then
- ./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" CXXFLAGS="-g -pg"
+ ./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" CXXFLAGS="-g -pg" \
+ --disable-shared
fi
rm AUTHORS ChangeLog