aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2008-03-11 23:31:15 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2008-03-11 23:31:15 +0000
commitbca7067abf6b7ca865c748e06b3ade435731e7c3 (patch)
tree6a741f91d7e585a6e01224a6e96b6b37b4a74cbc
parentb8644635b3f5bec6b9cd575034a03020da7edb24 (diff)
added -fPIC and changed wildcard to support 64-bit builds on GNU/Linux
svn path=/trunk/externals/OSCx/; revision=9568
-rwxr-xr-xconfigure4
-rw-r--r--configure.ac4
2 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index ff271ad..fd41847 100755
--- a/configure
+++ b/configure
@@ -4409,8 +4409,8 @@ if test -z "$GCC"; then
esac
else
case $host in
- *86-*-linux*)
- CFLAGS="$CFLAGS -DUNIX -Wall -Wimplicit -Wunused -Wmissing-prototypes -O2"
+ *86*-linux*)
+ CFLAGS="$CFLAGS -DUNIX -Wall -Wimplicit -Wunused -Wmissing-prototypes -O2 -fPIC"
LDFLAGS="-Wl,-export_dynamic -shared"
pd_suffix=pd_linux
LIBS="-lc -lm"
diff --git a/configure.ac b/configure.ac
index ce5fed0..a812697 100644
--- a/configure.ac
+++ b/configure.ac
@@ -77,8 +77,8 @@ if test -z "$GCC"; then
esac
else
case $host in
- *86-*-linux*)
- CFLAGS="$CFLAGS -DUNIX -Wall -Wimplicit -Wunused -Wmissing-prototypes -O2"
+ *86*-linux*)
+ CFLAGS="$CFLAGS -DUNIX -Wall -Wimplicit -Wunused -Wmissing-prototypes -O2 -fPIC"
LDFLAGS="-Wl,-export_dynamic -shared"
dnl we could test for bad glibc here, but don't
pd_suffix=pd_linux