Browse Source

libvpx: cleanup configure/make vars

Instead of redefining LD (and duplicating it), it is better to
unset the existing value first.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
lilik-openwrt-22.03
Luiz Angelo Daros de Luca 6 years ago
parent
commit
e1a2057f64
1 changed files with 3 additions and 6 deletions
  1. +3
    -6
      libs/libvpx/Makefile

+ 3
- 6
libs/libvpx/Makefile View File

@ -62,12 +62,9 @@ endif
# libvpx expects gcc as linker but uses $LD if provided # libvpx expects gcc as linker but uses $LD if provided
# However, OpenWRT defines LD as *-uclibc-ld and not *-gcc # However, OpenWRT defines LD as *-uclibc-ld and not *-gcc
CONFIGURE_VARS += \
CROSS=$(GNU_TARGET_NAME) \
LD="$(TARGET_CC)" \
MAKE_FLAGS += \
LD="$(TARGET_CC)" \
CONFIGURE_VARS := $(filter-out LD=%,$(CONFIGURE_VARS)) LD="$(TARGET_CC)" \
CROSS=$(GNU_TARGET_NAME)
MAKE_FLAGS := $(filter-out LD=%,$(MAKE_FLAGS)) LD="$(TARGET_CC)"
define Build/InstallDev define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include/vpx/ $(INSTALL_DIR) $(1)/usr/include/vpx/


Loading…
Cancel
Save