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>
This commit is contained in:
parent
6057ef25e9
commit
99e3c572d1
@ -5,7 +5,7 @@ LEGACY_MAKE = \
|
|||||||
top_srcdir=$(top_srcdir) \
|
top_srcdir=$(top_srcdir) \
|
||||||
srcdir=$(srcdir)
|
srcdir=$(srcdir)
|
||||||
|
|
||||||
CFLAGS = -g -Wall -O2 $(DAHDI_INCLUDE)
|
CFLAGS += -g -Wall -O2 $(DAHDI_INCLUDE)
|
||||||
if DAHDI_DEVMODE
|
if DAHDI_DEVMODE
|
||||||
CFLAGS += \
|
CFLAGS += \
|
||||||
-Werror \
|
-Werror \
|
||||||
|
Loading…
Reference in New Issue
Block a user