[physfs] [patch] CFLAGS

Adam D. Moss adam at gimp.org
Sat Oct 30 10:52:26 EDT 2004


*bump*

Adam D. Moss wrote:
> Hi!
> A minor annoyance is that physfs's configure
> doesn't respect CFLAGS (well, more specifically
> it trumps -Ox with -O2).  This trivial
> patch makes user-specified CFLAGS appear later
> in the command-line and thus take priority.
> --Adam
> 
> 
> ------------------------------------------------------------------------
> 
> Index: configure.in
> ===================================================================
> --- configure.in	(revision 667)
> +++ configure.in	(working copy)
> @@ -514,7 +514,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



More information about the physfs mailing list