Browse Source

bossa: fix fpic compilation

Fixes: #17287 ("bossa: recompile with -fPIC")

Signed-off-by: Nick Hainke <vincent@systemli.org>
lilik-openwrt-22.03
Nick Hainke 3 years ago
parent
commit
7e2e38cab6
1 changed files with 7 additions and 3 deletions
  1. +7
    -3
      utils/bossa/Makefile

+ 7
- 3
utils/bossa/Makefile View File

@ -32,9 +32,13 @@ define Package/bossa/description
endef endef
define Build/Compile define Build/Compile
COMMON_CXXFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)" \
COMMON_LDFLAGS="$(TARGET_LINKFLAGS) $(TARGET_LDFLAGS)" \
$(MAKE) -C $(PKG_BUILD_DIR) $(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS)" bin/bossac
$(MAKE) -C $(PKG_BUILD_DIR) bin/bossac \
CC="$(TARGET_CC_NOCACHE)" \
CXX="$(TARGET_CXX_NOCACHE)" \
CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" \
CXXFLAGS="$(TARGET_CXXFLAGS) $(EXTRA_CXXFLAGS)" \
CPPFLAGS="$(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS) $(EXTRA_LDFLAGS)"
endef endef
define Package/bossa/install define Package/bossa/install


Loading…
Cancel
Save