turn off stupid clang warning

This commit is contained in:
Daniel Micay 2012-06-07 21:50:44 -04:00
parent 2c08b341c5
commit 834263a7e2
1 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,10 @@ CFLAGS += -std=c99 -O3 \
-Wunused-macros \ -Wunused-macros \
$(shell pkg-config --cflags ${GTK} ${VTE}) $(shell pkg-config --cflags ${GTK} ${VTE})
ifeq (${CC}, clang)
CFLAGS += -Wno-missing-field-initializers
endif
LDFLAGS += -s -Wl,--as-needed $(shell pkg-config --libs ${GTK} ${VTE}) LDFLAGS += -s -Wl,--as-needed $(shell pkg-config --libs ${GTK} ${VTE})
termite: termite.c config.h termite: termite.c config.h