From 4c41573e176efc089d1578df133e0661e4b5b2f5 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Sat, 26 Jan 2019 07:36:38 +0100 Subject: [PATCH] remove unnecessary flags --- n64-toolkit/PKGBUILD.binutils | 2 +- n64-toolkit/PKGBUILD.bootstrap | 2 +- n64-toolkit/PKGBUILD.gcc | 2 +- n64-toolkit/PKGBUILD.newlib | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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"