diff options
-rwxr-xr-x | configure | 4 | ||||
-rw-r--r-- | configure.ac | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -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 |