[Pdbg] [PATCH] Makefile: Add ARCH_FLAGS to pdbg_CFLAGS
Rashmica Gupta
rashmica.g at gmail.com
Mon May 21 16:37:55 AEST 2018
ARCH_FLAGS was not being used and so code that was in arch specific
ifdefs was not being included when it should have.
Fixes:cad634a9 (main: Conditionally build device trees based on arch)
Signed-off-by: Rashmica Gupta <rashmica.g at gmail.com>
---
Makefile.am | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index cf2d518..21a09ab 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -36,7 +36,8 @@ pdbg_SOURCES = \
src/main.c src/cfam.c src/scom.c src/reg.c src/mem.c src/thread.c \
src/ring.c src/htm.c src/progress.c src/options_ at ARCH@.c
-pdbg_CFLAGS = -I$(top_srcdir)/libpdbg -Wall -Werror -DGIT_SHA1=\"${GIT_SHA1}\"
+pdbg_CFLAGS = -I$(top_srcdir)/libpdbg -Wall -Werror -DGIT_SHA1=\"${GIT_SHA1}\" \
+ $(ARCH_FLAGS)
if GDBSERVER
pdbg_SOURCES += \
--
2.14.3
More information about the Pdbg
mailing list