changeset 29124:a24febe919b5

Move darwin CFLAG settings to darwin section at the beginning of configure.
author diego
date Fri, 10 Apr 2009 13:37:59 +0000
parents 4b5ba9cc3329
children 06d672bbf74c
files configure
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Fri Apr 10 13:12:28 2009 +0000
+++ b/configure	Fri Apr 10 13:37:59 2009 +0000
@@ -1432,6 +1432,7 @@
 if darwin; then
   extra_ldflags="$extra_ldflags -L/usr/local/lib"
   extra_cflags="$extra_cflags -I/usr/local/include"
+  CFLAGS="$CFLAGS -mdynamic-no-pic -falign-loops=16 -shared-libgcc"
   _timer=timer-darwin.c
 fi
 
@@ -8001,9 +8002,6 @@
 
 
 #############################################################################
-if darwin ; then
-  CFLAGS="$CFLAGS -mdynamic-no-pic -falign-loops=16 -shared-libgcc"
-fi
 # Thread support
 if linux ; then
   CFLAGS="$CFLAGS -D_REENTRANT"