Add -ansi to CPPFLAGS which stops GCC from being stupid and defining unprefixed pp macros (such as "unix"), while i'm here add -pedantic

Originally committed to SVN as r4443.
This commit is contained in:
Amar Takhar 2010-06-05 23:42:49 +00:00
parent 3fbdf5b7e5
commit b01855ecbd

View file

@ -4,7 +4,7 @@ AM_CXXFLAGS=
DISTCLEANFILES=
lib_LTLIBRARIES = libaegisub-2.2.la
libaegisub_2_2_la_CPPFLAGS = -I../src/include -Iinclude -I. @WX_CPPFLAGS@
libaegisub_2_2_la_CPPFLAGS = -I../src/include -Iinclude -I. @WX_CPPFLAGS@ -ansi -pedantic
libaegisub_2_2_la_LDFLAGS = @ICONV_LDFLAGS@
if PRECOMPILED_HEADER