Browse Source

gdb: overwrite M4 to cross-compile on Mac

Waldemar Brodkorb 6 years ago
parent
commit
d2b05bc49f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      toolchain/gdb/Makefile

+ 1 - 0
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) \