We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48d477d commit 1386a3aCopy full SHA for 1386a3a
1 file changed
scripts/002-gcc-stage1.sh
@@ -34,6 +34,7 @@ cd "$REPO_FOLDER"
34
35
TARGET_ALIAS="iop"
36
TARG_XTRA_OPTS=""
37
+TARGET_CFLAGS="-O2 -gdwarf-2 -gz"
38
OSVER=$(uname)
39
40
# Workaround to build with newer mingw-w64 https://github.com/msys2/MINGW-packages/commit/4360ed1a7470728be1dba0687df764604f1992d9
@@ -60,6 +61,8 @@ for TARGET in "mipsel-ps2-irx" "mipsel-none-elf"; do
60
61
cd "build-$TARGET-stage1"
62
63
## Configure the build.
64
+ CFLAGS_FOR_TARGET="$TARGET_CFLAGS" \
65
+ CXXFLAGS_FOR_TARGET="$TARGET_CFLAGS" \
66
../configure \
67
--quiet \
68
--prefix="$PS2DEV/$TARGET_ALIAS" \
0 commit comments