Remove -gstrict-dwarf from examples/ CPPFLAGS (for OSX 10.9)

This commit is contained in:
Magnus Edenhill 2014-06-26 23:44:02 +02:00
parent 58f7e76160
commit ef015c5f41

View file

@ -7,6 +7,10 @@ include ../mklove/Makefile.base
CFLAGS += -I../src
CXXFLAGS += -I../src-cpp
# librdkafka must be compiled with -gstrict-dwarf, but rdkafka_example must not,
# due to some clang bug on OSX 10.9
CPPFLAGS := $(subst strict-dwarf,,$(CPPFLAGS))
rdkafka_example: ../src/librdkafka.a rdkafka_example.c
$(CC) $(CPPFLAGS) $(CFLAGS) rdkafka_example.c -o $@ $(LDFLAGS) \
../src/librdkafka.a $(LIBS)