fix(prefix.mk): gcc-freestanding
Build libgcc (relibc needs it) and disable shared. Signed-off-by: Anhad Singh <andypython@protonmail.com>
This commit is contained in:
parent
9ed047a91e
commit
34153db14d
|
@ -205,11 +205,12 @@ else
|
|||
--program-prefix="$(GNU_TARGET)-" \
|
||||
--prefix="" \
|
||||
--disable-nls \
|
||||
--disable-shared \
|
||||
--enable-languages=c,c++ \
|
||||
--without-headers \
|
||||
&& \
|
||||
$(MAKE) -j `$(NPROC)` all-gcc && \
|
||||
$(MAKE) -j `$(NPROC)` install-gcc DESTDIR="$(ROOT)/$@.partial"
|
||||
$(MAKE) -j `$(NPROC)` all-gcc all-target-libgcc && \
|
||||
$(MAKE) -j `$(NPROC)` install-gcc install-target-libgcc DESTDIR="$(ROOT)/$@.partial"
|
||||
rm -rf "$<-freestanding-build"
|
||||
cd "$@.partial" && $(PREFIX_STRIP)
|
||||
touch "$@.partial"
|
||||
|
|
Loading…
Reference in a new issue