summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-04 22:21:30 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-04 22:21:30 +0100
commitbb9efd268326393ca769c38e6385216569e70e52 (patch)
treee3871fe2dcc5134c94d7ebd14c424beb59efa6a6 /toolchain
parent9df044766604b62242545c325ad2cdb31848057a (diff)
update firefox and dependencies
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/musl/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/toolchain/musl/Makefile b/toolchain/musl/Makefile
index f647939b5..25bd9e56c 100644
--- a/toolchain/musl/Makefile
+++ b/toolchain/musl/Makefile
@@ -27,6 +27,13 @@ $(WRKBUILD)/.headers:
touch $@
$(WRKBUILD)/.compiled:
+ # reconfigure musl, otherwise linking with libgcc or libgcc_eh is disabled
+ $(MAKE) CFLAGS='$(TARGET_CFLAGS)' -C $(WRKBUILD) clean
+ (cd $(WRKBUILD); CC='$(TARGET_CC)' CROSS_COMPILE='$(TARGET_CROSS)' \
+ ./configure --prefix=/usr \
+ --target=$(REAL_GNU_TARGET_NAME) \
+ --disable-gcc-wrapper \
+ )
$(MAKE) CFLAGS='$(TARGET_CFLAGS)' -C $(WRKBUILD) all
touch $@