mirror of
https://git.openwrt.org/feed/packages.git
synced 2024-06-20 23:58:38 +02:00
bossa: fix fpic compilation
Fixes: #17287 ("bossa: recompile with -fPIC") Signed-off-by: Nick Hainke <vincent@systemli.org>
This commit is contained in:
parent
35dff58b3a
commit
7e2e38cab6
|
@ -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)" \
|
$(MAKE) -C $(PKG_BUILD_DIR) bin/bossac \
|
||||||
COMMON_LDFLAGS="$(TARGET_LINKFLAGS) $(TARGET_LDFLAGS)" \
|
CC="$(TARGET_CC_NOCACHE)" \
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) $(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS)" bin/bossac
|
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…
Reference in New Issue
Block a user