Commit 85931191 authored by Maximus32's avatar Maximus32
Browse files

Compile newlib with -G0 option

parent ad17e3e8
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ rm -rf newlib-$TARGET && mkdir newlib-$TARGET && cd newlib-$TARGET || { exit 1;
../../"$TARGET"/newlib/configure --prefix="$PS2DEV/$TARGET" --target="$TARGET" || { exit 1; }

## Compile and install.
make clean && make -j $PROC_NR && make install && make clean || { exit 1; }
make clean && make CFLAGS="-G0" CXXFLAGS="-G0" -j $PROC_NR && make install && make clean || { exit 1; }

## Exit the build directory
cd .. || { exit 1; }