mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
sed: fix compilation with external toolchains
Since CC is already passed in TARGET_CONFIGURE_OPTS at ./configure time, there's no point in overriding it with a wrong value at compilation time. This breaks external toolchain builds since CC=$(TARGET_CC) is wrong because it excludes the mandatory --sysroot option. Fixes bug #525 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
@@ -135,7 +135,7 @@ $(SED_DIR2)/.configured: $(SED_DIR2)/.unpacked
|
||||
touch $@
|
||||
|
||||
$(SED_DIR2)/$(SED_BINARY): $(SED_DIR2)/.configured
|
||||
$(MAKE) CC=$(TARGET_CC) -C $(SED_DIR2)
|
||||
$(MAKE) -C $(SED_DIR2)
|
||||
|
||||
# This stuff is needed to work around GNU make deficiencies
|
||||
sed-target_binary: $(SED_DIR2)/$(SED_BINARY)
|
||||
|
||||
Reference in New Issue
Block a user