mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
build: Make it possible to build without gcc
The external Makefile hardcodes gcc to get the machine spec.
This should use the configured C compiler instead.
This bug was introduced in 601464416b
.
This commit is contained in:
parent
a3a37ea4ce
commit
32f9805a30
2
external/Makefile
vendored
2
external/Makefile
vendored
@ -9,7 +9,7 @@ ifdef BUILD
|
||||
CROSSCOMPILE_OPTS := --host="$(MAKE_HOST)" --build="$(BUILD)"
|
||||
TARGET_DIR := external/"$(MAKE_HOST)"
|
||||
else
|
||||
TARGET_DIR := external/"$(shell gcc -dumpmachine)"
|
||||
TARGET_DIR := external/"$(shell ${CC} -dumpmachine)"
|
||||
endif
|
||||
|
||||
LIBSODIUM_HEADERS := external/libsodium/src/libsodium/include/sodium.h
|
||||
|
Loading…
Reference in New Issue
Block a user