diff --git a/n64-toolkit/PKGBUILD.binutils b/n64-toolkit/PKGBUILD.binutils index 1d98589..101a164 100644 --- a/n64-toolkit/PKGBUILD.binutils +++ b/n64-toolkit/PKGBUILD.binutils @@ -28,7 +28,7 @@ build() { export CPPFLAGS="" export LDFLAGS="" - export CFLAGS_FOR_TARGET="-O2 -G0 -ffunction-sections -fdata-sections \ + export CFLAGS_FOR_TARGET="-O2 -G0 \ -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables" export CXXFLAGS_FOR_TARGET="$CFLAGS_FOR_TARGET -fno-rtti" diff --git a/n64-toolkit/PKGBUILD.bootstrap b/n64-toolkit/PKGBUILD.bootstrap index 2b666f1..644fdd2 100644 --- a/n64-toolkit/PKGBUILD.bootstrap +++ b/n64-toolkit/PKGBUILD.bootstrap @@ -50,7 +50,7 @@ build() { export CPPFLAGS="" export LDFLAGS="" - export CFLAGS_FOR_TARGET="-O2 -G0 -ffunction-sections -fdata-sections \ + export CFLAGS_FOR_TARGET="-O2 -G0 \ -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables" export CXXFLAGS_FOR_TARGET="$CFLAGS_FOR_TARGET -fno-rtti" diff --git a/n64-toolkit/PKGBUILD.gcc b/n64-toolkit/PKGBUILD.gcc index 0ea182a..a4e2923 100644 --- a/n64-toolkit/PKGBUILD.gcc +++ b/n64-toolkit/PKGBUILD.gcc @@ -53,7 +53,7 @@ build() { export CPPFLAGS="" export LDFLAGS="" - export CFLAGS_FOR_TARGET="-O2 -G0 -ffunction-sections -fdata-sections \ + export CFLAGS_FOR_TARGET="-O2 -G0 \ -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables" export CXXFLAGS_FOR_TARGET="$CFLAGS_FOR_TARGET -fno-rtti" diff --git a/n64-toolkit/PKGBUILD.newlib b/n64-toolkit/PKGBUILD.newlib index 870c57c..426a038 100644 --- a/n64-toolkit/PKGBUILD.newlib +++ b/n64-toolkit/PKGBUILD.newlib @@ -24,7 +24,7 @@ build() { export CPPFLAGS="" export LDFLAGS="" - export CFLAGS_FOR_TARGET="-O2 -G0 -ffunction-sections -fdata-sections \ + export CFLAGS_FOR_TARGET="-O2 -G0 \ -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables" export CXXFLAGS_FOR_TARGET="$CFLAGS_FOR_TARGET -fno-rtti"