Update gcc build with freestanding path
This commit is contained in:
parent
3d2a3c0419
commit
dbc1c9676f
|
@ -62,6 +62,7 @@ $(PREFIX)/gcc-install: $(PREFIX)/gcc $(PREFIX)/relibc-install
|
|||
rm -rf "$<-build" "$@"
|
||||
mkdir -p "$<-build" "$@"
|
||||
cd "$<-build" && \
|
||||
export PATH="$(PREFIX_FREESTANDING_PATH):$$PATH" && \
|
||||
"$</configure" --target="$(TARGET)" --disable-werror --prefix="$@" --with-sysroot="$(PREFIX)/relibc-install" --disable-nls --enable-languages=c,c++ && \
|
||||
make all-gcc -j `nproc` && \
|
||||
make all-target-libgcc -j `nproc` && \
|
||||
|
|
Loading…
Reference in a new issue