patch from Matt for automake 1.5
authorJosh Coalson <jcoalson@users.sourceforce.net>
Fri, 19 Oct 2001 18:24:33 +0000 (18:24 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Fri, 19 Oct 2001 18:24:33 +0000 (18:24 +0000)
src/libFLAC/Makefile.am

index 1381e3a..e6543eb 100644 (file)
 
 lib_LTLIBRARIES = libFLAC.la
 if DEBUG
 
 lib_LTLIBRARIES = libFLAC.la
 if DEBUG
-CFLAGS += @CFLAGS@ -DFLAC__OVERFLOW_DETECT
-else
-CFLAGS = @CFLAGS@
+DEBUGCFLAGS = -DFLAC__OVERFLOW_DETECT
 endif
 endif
+CFLAGS = @CFLAGS@ $(DEBUGCFLAGS)
 
 if FLaC__NO_ASM
 else
 
 if FLaC__NO_ASM
 else