Add -Wno-variadic-macros to silence "warning: anonymous variadic macros were introduced in C99" with GCC.

Originally committed to SVN as r4915.
This commit is contained in:
Amar Takhar 2010-12-08 13:35:33 +00:00
parent a6a4132ab5
commit 819a298246

View file

@ -6,7 +6,7 @@ LIB_SHARED = libaegisub-3.0.so
LIB_SHARED_INSTALL = yes
LIB_VERSION = 3
CXXFLAGS = -Iinclude -I../src -I.. -pedantic -DLAGI -fPIC
CXXFLAGS = -Iinclude -I../src -I.. -pedantic -DLAGI -fPIC -Wno-variadic-macros
PRECOMPILED_HEADER_NAME = lagi_pre.h
lagi_pre.h.gch: CXXFLAGS := $(CXXFLAGS)