mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-22 04:44:19 +08:00
Use relative path for which binary
This commit is contained in:
parent
4a71973e95
commit
34d36bdadc
@ -84,3 +84,15 @@ diff -ruwN source/netsurf/utils/config.h source-new/netsurf/utils/config.h
|
||||
#undef HAVE_STRPTIME
|
||||
#undef HAVE_STRFTIME
|
||||
#else
|
||||
diff -ruwN source/buildsystem/makefiles/Makefile.tools source-new/buildsystem/makefiles/Makefile.tools
|
||||
--- source/buildsystem/makefiles/Makefile.tools 2023-04-15 08:48:37.000000000 +0100
|
||||
+++ source-new/buildsystem/makefiles/Makefile.tools 2023-04-15 08:48:37.000000000 +0100
|
||||
@@ -135,7 +135,7 @@
|
||||
endif
|
||||
|
||||
# Search the path for the compiler
|
||||
- toolpath_ := $(shell /bin/which $(CC__))
|
||||
+ toolpath_ := $(shell which $(CC__))
|
||||
ifeq ($(toolpath_),)
|
||||
toolpath_ := /opt/netsurf/$(HOST)/cross/bin/
|
||||
CC__ := $(toolpath_)$(HOST)-gcc
|
||||
|
||||
Loading…
Reference in New Issue
Block a user