mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
lxc: use -minterlink-mips16 only with USE_MIPS16
The flag is either not supported or not needed unless there's mixed mips/mips16 code. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
This commit is contained in:
@@ -142,7 +142,9 @@ CONFIGURE_ARGS += \
|
||||
--enable-capabilities \
|
||||
--disable-examples
|
||||
|
||||
TARGET_CFLAGS += -minterlink-mips16
|
||||
ifdef CONFIG_USE_MIPS16
|
||||
TARGET_CFLAGS += -minterlink-mips16
|
||||
endif
|
||||
TARGET_LDFLAGS += -lgcc_eh
|
||||
|
||||
define Build/InstallDev
|
||||
|
||||
Reference in New Issue
Block a user