diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2017-02-02 05:09:44 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-02-02 05:09:44 +0100 |
commit | 93e6c537460254399ad25c525df8630558df8dc1 (patch) | |
tree | 1733498ea6c4e156b96206505b0e42ae8677068b | |
parent | cdfd1b383c563e835efc5a0aa356289b22db5b3a (diff) |
gdb: add HOST_PATH to find bison
-rw-r--r-- | toolchain/gdb/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolchain/gdb/Makefile b/toolchain/gdb/Makefile index 676b9b3a9..44cef0432 100644 --- a/toolchain/gdb/Makefile +++ b/toolchain/gdb/Makefile @@ -21,7 +21,7 @@ endif $(WRKBUILD)/.configured: $(SED) 's/install_to_$(INSTALL_DEST) //' ${WRKBUILD}/libiberty/Makefile.in mkdir -p $(GDB_BUILD_DIR) - (cd $(GDB_BUILD_DIR); \ + (cd $(GDB_BUILD_DIR); PATH='$(HOST_PATH)' \ gdb_cv_func_sigsetjmp=yes \ $(WRKBUILD)/configure \ --prefix=$(STAGING_HOST_DIR) \ @@ -47,7 +47,7 @@ $(WRKBUILD)/.configured: touch $@ $(WRKBUILD)/.compiled: - $(MAKE) ${GDB_MAKEOPTS} -C $(GDB_BUILD_DIR) CFLAGS="-fPIC ${CFLAGS_FOR_BUILD}" + PATH='$(HOST_PATH)' $(MAKE) ${GDB_MAKEOPTS} -C $(GDB_BUILD_DIR) CFLAGS="-fPIC ${CFLAGS_FOR_BUILD}" touch $@ $(WRKBUILD)/.installed: |