From 834263a7e2ec6ed42d77f00e417b16700b5bb417 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Thu, 7 Jun 2012 21:50:44 -0400 Subject: [PATCH] turn off stupid clang warning --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index a82e2e3..c9a8b9a 100644 --- a/Makefile +++ b/Makefile @@ -17,6 +17,10 @@ CFLAGS += -std=c99 -O3 \ -Wunused-macros \ $(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}) termite: termite.c config.h