mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 07:57:43 +00:00
- Pass the correct compiler when building the target binutils.
This commit is contained in:
parent
819ef8072b
commit
7fb0f70a5a
@ -101,6 +101,7 @@ BINUTILS_DIR2:=$(BUILD_DIR)/binutils-$(BINUTILS_VERSION)-target
|
|||||||
$(BINUTILS_DIR2)/.configured: $(BINUTILS_DIR)/.patched
|
$(BINUTILS_DIR2)/.configured: $(BINUTILS_DIR)/.patched
|
||||||
mkdir -p $(BINUTILS_DIR2)
|
mkdir -p $(BINUTILS_DIR2)
|
||||||
(cd $(BINUTILS_DIR2); \
|
(cd $(BINUTILS_DIR2); \
|
||||||
|
CC_FOR_BUILD="$(HOSTCC)" \
|
||||||
PATH=$(TARGET_PATH) \
|
PATH=$(TARGET_PATH) \
|
||||||
CFLAGS="$(TARGET_CFLAGS)" \
|
CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
CFLAGS_FOR_BUILD="-O2 -g" \
|
CFLAGS_FOR_BUILD="-O2 -g" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user