turn off stupid clang warning
This commit is contained in:
parent
2c08b341c5
commit
834263a7e2
4
Makefile
4
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue