Browse Source

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>
lilik-openwrt-22.03
Eneas U de Queiroz 5 years ago
parent
commit
a1baf2eae0
No known key found for this signature in database GPG Key ID: 1EB043ABD7ACF202
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      utils/lxc/Makefile

+ 3
- 1
utils/lxc/Makefile View File

@ -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


Loading…
Cancel
Save