summaryrefslogtreecommitdiff
path: root/toolchain/gdb/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2018-03-17 14:06:47 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2018-03-17 14:14:43 +0100
commitd2b05bc49f6f7a8dca6497b6ed2f80edb08794d6 (patch)
tree8c332820bd8cec7a45d54a14f25e67e050070598 /toolchain/gdb/Makefile
parentf1c5601b1f8367886bab0d4f1a3705fc8699d726 (diff)
gdb: overwrite M4 to cross-compile on Mac
Diffstat (limited to 'toolchain/gdb/Makefile')
-rw-r--r--toolchain/gdb/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolchain/gdb/Makefile b/toolchain/gdb/Makefile
index 44cef0432..f2cd417fe 100644
--- a/toolchain/gdb/Makefile
+++ b/toolchain/gdb/Makefile
@@ -23,6 +23,7 @@ $(WRKBUILD)/.configured:
mkdir -p $(GDB_BUILD_DIR)
(cd $(GDB_BUILD_DIR); PATH='$(HOST_PATH)' \
gdb_cv_func_sigsetjmp=yes \
+ M4='${STAGING_HOST_DIR}/usr/bin/m4' \
$(WRKBUILD)/configure \
--prefix=$(STAGING_HOST_DIR) \
--build=$(GNU_HOST_NAME) \