Browse Source

build fix: external CFLAGS are ignored

* When passing CFLAGS to ./configure, they are ignored.
* The reason is that in Makefile.am CFLAGS are clobbered.

Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
master
Oron Peled 5 years ago
committed by Tzafrir Cohen
parent
commit
99e3c572d1
  1. 2
      Makefile.am

2
Makefile.am

@ -5,7 +5,7 @@ LEGACY_MAKE = \
top_srcdir=$(top_srcdir) \
srcdir=$(srcdir)
CFLAGS = -g -Wall -O2 $(DAHDI_INCLUDE)
CFLAGS += -g -Wall -O2 $(DAHDI_INCLUDE)
if DAHDI_DEVMODE
CFLAGS += \
-Werror \

Loading…
Cancel
Save