CFLAGS is used after PHYSFSCFLAGS, so you can override optimization flags, etc.

This commit is contained in:
Ryan C. Gordon 2004-10-30 23:45:29 +00:00
parent bdd4ca0d93
commit a27c289f29
3 changed files with 2 additions and 2 deletions

View File

@ -3,6 +3,7 @@
*/
10302004 - Fixed a strcpy that should have been a strcat. (thanks, Tolga!)
Build system respects external CFLAGS now. (thanks, Adam!)
10062004 - Removed profiling code from physfs.c.
09292004 - Every API that can return a list of strings can now use a
callback mechanism if the application wants to do it's own

1
TODO
View File

@ -44,7 +44,6 @@ Some might be dupes, some might be done already.
- MIX enumerates files as hash values.
- Should file enumeration return an error or set error state?
- Ryanify pocketpc.c ...
- CFLAGS fix.
- Update internal zlib?
- Get svn hooks working.
- maybe other stuff.

View File

@ -514,7 +514,7 @@ AC_CHECK_FUNCS([memset strrchr])
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