$OpenBSD: patch-src_Makefile,v 1.1 2008/01/30 14:34:01 jasper Exp $ --- src/Makefile.orig Mon Jan 28 23:41:42 2008 +++ src/Makefile Mon Jan 28 23:43:26 2008 @@ -21,9 +21,9 @@ all: smsd smsd: smsd.c extras.o locking.o cfgfile.o logging.o alarm.o smsd_cfg.o charset.o stats.o blacklist.o whitelist.o modeminit.o pdu.o ifneq (,$(findstring NOSTATS,$(CFLAGS))) - $(CC) $(CFLAGS) -o $@ $^ + $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -o $@ $^ else - $(CC) `mm-config --cflags` $(CFLAGS) -o $@ $^ `mm-config --ldflags --libs` + $(CC) `mm-config --cflags` $(CFLAGS) $(EXTRA_CFLAGS) -o $@ $^ `mm-config --ldflags --libs` @echo "(Please ignore warning about tempnam -- it is used in a safe way)" endif