From 99e3c572d1ce4b2c3e0195499b84cb56ade94bea Mon Sep 17 00:00:00 2001 From: Oron Peled Date: Sun, 6 Mar 2016 12:26:20 +0200 Subject: [PATCH] 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 --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index d43ce91..9dd64b2 100644 --- a/Makefile.am +++ b/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 \