From bca7067abf6b7ca865c748e06b3ade435731e7c3 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 11 Mar 2008 23:31:15 +0000 Subject: added -fPIC and changed wildcard to support 64-bit builds on GNU/Linux svn path=/trunk/externals/OSCx/; revision=9568 --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure.ac') 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 -- cgit v1.2.1