From ebc21524cf83ca28c6bc401a74650cf8d10eb446 Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Thu, 1 Jan 2009 10:34:00 +0000 Subject: [PATCH] I'm not sure how long this bug has been around, probably several months if not from around r2140. An artifact from the very first commit of the new build system was wiping CPPFLAGS, which removed -g if --enable-debug was used. I didn't notice it locally as I was setting the flag differently. I wonder how it went on this long without anyone noticing, next: useful crashdumps for all. Originally committed to SVN as r2599. --- FFmpegSource2/Makefile.am | 2 +- configure.in | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/FFmpegSource2/Makefile.am b/FFmpegSource2/Makefile.am index 637506803..2d64770be 100644 --- a/FFmpegSource2/Makefile.am +++ b/FFmpegSource2/Makefile.am @@ -1,6 +1,6 @@ noinst_LIBRARIES = libffmpegsource2_aegisub.a -AM_CPPFLAGS = -include ../aegisub/posix/defines.h -I../aegisub +AM_CPPFLAGS = -include ../aegisub/posix/defines.h -I../aegisub @WX_CPPFLAGS@ libffmpegsource2_aegisub_a_SOURCES = \ ffaudiosource.cpp \ diff --git a/configure.in b/configure.in index 64bde6f01..8347eca16 100644 --- a/configure.in +++ b/configure.in @@ -870,8 +870,8 @@ if test "$have_wxconfig" != 1; then the libraries to your LDFLAGS, CXX/CFLAGS.]) fi -aegisub_save_CPPLAGS="$CPPLAGS" -CPPFLAGS="$WX_CFLAGS" +#aegisub_save_CPPFLAGS="$CPPFLAGS" +#CPPFLAGS="$WX_CFLAGS" AC_ARG_ENABLE(check-wx-opengl, [--disable-check-wx-opengl Force wxwidgets OpenGL support. ])