cortex_a: fix FTBS on ARM due to alignment issues
[openocd.git] / common.mk
index d2273d7..1cb0743 100644 (file)
--- a/common.mk
+++ b/common.mk
@@ -2,4 +2,11 @@
 # common flags used in openocd build
 AM_CPPFLAGS = -I$(top_srcdir)/src \
                          -I$(top_builddir)/src \
-                         -DPKGDATADIR=\"$(pkgdatadir)\"
+                         -I$(top_srcdir)/src/helper \
+                         -DPKGDATADIR=\"$(pkgdatadir)\" \
+                         -DPKGLIBDIR=\"$(pkglibdir)\"
+
+if INTERNAL_JIMTCL
+AM_CPPFLAGS += -I$(top_srcdir)/jimtcl \
+                          -I$(top_builddir)/jimtcl
+endif