]> git.sur5r.net Git - openocd/blobdiff - common.mk
configure: Don't set user variables
[openocd] / common.mk
index f301c3acebd301829fb0f5ce030f5aa23ada4a62..dbacf19fc3dfcd732d738d4cf0db12018537961b 100644 (file)
--- a/common.mk
+++ b/common.mk
@@ -1,6 +1,9 @@
 
 # common flags used in openocd build
-AM_CPPFLAGS = -I$(top_srcdir)/src \
+AM_CFLAGS = $(GCC_WARNINGS)
+
+AM_CPPFLAGS = $(HOST_CPPFLAGS)\
+                         -I$(top_srcdir)/src \
                          -I$(top_builddir)/src \
                          -I$(top_srcdir)/src/helper \
                          -DPKGDATADIR=\"$(pkgdatadir)\" \