CFLAGS fix backported from devbranch. stable-1.0
authorRyan C. Gordon <icculus@icculus.org>
Sat, 30 Oct 2004 23:47:00 +0000
branchstable-1.0
changeset 667 65f73b6802d5
parent 665 a57d48b90d53
child 670 47c76e291a2f
CFLAGS fix backported from devbranch.
CHANGELOG
configure.in
--- a/CHANGELOG	Sat Oct 30 09:59:38 2004 +0000
+++ b/CHANGELOG	Sat Oct 30 23:47:00 2004 +0000
@@ -6,6 +6,7 @@
 
 10302004 - Fixed a strcpy that should have been a strcat. (thanks, Tolga!)
            Removed .cvsignore files (we're in a Subversion repository, now).
+           Build system respects external CFLAGS now. (thanks, Adam!)
 09212003 - Happy September. Fixes to bootstrap on MacOS X. Seeking now tries
            to respect pre-buffered data.
 
--- a/configure.in	Sat Oct 30 09:59:38 2004 +0000
+++ b/configure.in	Sat Oct 30 23:47:00 2004 +0000
@@ -493,7 +493,7 @@
 
 AC_CHECK_SIZEOF(int, 4)
 
-CFLAGS="$CFLAGS $PHYSFSCFLAGS -D_REENTRANT -D_THREAD_SAFE"
+CFLAGS="$PHYSFSCFLAGS $CFLAGS -D_REENTRANT -D_THREAD_SAFE"
 LDFLAGS="$LDFLAGS $PHYSFSLDFLAGS -no-undefined"
 
 dnl Add Makefile conditionals