mirror of
https://github.com/Ansuel/openwrt.git
synced 2025-12-16 15:01:32 +00:00
zyxel-bootconfig: Forward LDFLAGS
Forward the TARGET_LDFLAGS to the linking process. Link: https://github.com/openwrt/openwrt/pull/20813 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
ef2c544f04
commit
51ab518bf9
@ -26,7 +26,8 @@ endef
|
||||
define Build/Compile
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
CC="$(TARGET_CC)" \
|
||||
CFLAGS="$(TARGET_CFLAGS) -Wall"
|
||||
CFLAGS="$(TARGET_CFLAGS) -Wall" \
|
||||
LDFLAGS="$(TARGET_LDFLAGS)"
|
||||
endef
|
||||
|
||||
define Package/zyxel-bootconfig/install
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
all: zyxel-bootconfig
|
||||
|
||||
zyxel-bootconfig:
|
||||
$(CC) $(CFLAGS) -Wall zyxel-bootconfig.c -o zyxel-bootconfig
|
||||
$(CC) $(CFLAGS) $(LDFLAGS) -Wall zyxel-bootconfig.c -o zyxel-bootconfig
|
||||
|
||||
clean:
|
||||
rm -f zyxel-bootconfig
|
||||
|
||||
Loading…
Reference in New Issue
Block a user