Skip to content

Commit

Permalink
Add --with-static-standard-libraries flag to binutils
Browse files Browse the repository at this point in the history
  • Loading branch information
NoMore201 committed Jan 1, 2025
1 parent 77fa4b2 commit 559a41b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ stamps/build-mpfr: $(MPFR_SRCDIR) stamps/build-gmp
$(MAKE) -C $(notdir $@) install
mkdir -p $(dir $@) && touch $@

stamps/build-mpc: $(MPC_SRCDIR) stamps/build-gmp stamps/build-mpfr
stamps/build-mpc: $(MPC_SRCDIR) stamps/build-mpfr
rm -rf $@ $(notdir $@)
mkdir $(notdir $@)
cd $(notdir $@) && $</configure \
Expand All @@ -88,7 +88,7 @@ stamps/build-mpc: $(MPC_SRCDIR) stamps/build-gmp stamps/build-mpfr
$(MAKE) -C $(notdir $@) install
mkdir -p $(dir $@) && touch $@

stamps/build-binutils-mcs: $(BINUTILS_SRCDIR)
stamps/build-binutils-mcs: $(BINUTILS_SRCDIR) stamps/build-mpc
rm -rf $@ $(notdir $@)
mkdir $(notdir $@)
cd $(notdir $@) && $</configure \
Expand Down Expand Up @@ -119,7 +119,7 @@ stamps/build-binutils-mcs: $(BINUTILS_SRCDIR)
$(MAKE) -C $(notdir $@) install
mkdir -p $(dir $@) && touch $@

stamps/build-binutils-tc: $(BINUTILS_SRCDIR) stamps/build-binutils-mcs stamps/build-gmp stamps/build-mpfr stamps/build-mpc
stamps/build-binutils-tc: $(BINUTILS_SRCDIR) stamps/build-binutils-mcs
rm -rf $@ $(notdir $@)
mkdir $(notdir $@)
cd $(notdir $@) && $</configure \
Expand All @@ -129,6 +129,7 @@ stamps/build-binutils-tc: $(BINUTILS_SRCDIR) stamps/build-binutils-mcs stamps/bu
--prefix=$(INSTALL_DIR) \
$(CONFIGURE_HOST) \
--disable-threads \
--with-static-standard-libraries \
--with-gmp-include=$(INSTALL_DIR)/deps/include \
--with-gmp-lib=$(INSTALL_DIR)/deps/lib \
--with-mpc-include=$(INSTALL_DIR)/deps/include \
Expand Down

0 comments on commit 559a41b

Please sign in to comment.