From e377ef05f6c8ac70e8824938782f1b2c9069d065 Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Fri, 6 May 2022 21:15:06 +0100 Subject: [PATCH] devkitPPC: remove obsolete flag setting --- dkppc/scripts/build-gcc.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/dkppc/scripts/build-gcc.sh b/dkppc/scripts/build-gcc.sh index 177c388..60e1447 100755 --- a/dkppc/scripts/build-gcc.sh +++ b/dkppc/scripts/build-gcc.sh @@ -12,7 +12,7 @@ cd $target/binutils if [ ! -f configured-binutils ] then - CFLAGS=$cflags LDFLAGS=$ldflags ../../binutils-$BINUTILS_VER/configure \ + ../../binutils-$BINUTILS_VER/configure \ --prefix=$prefix --target=$target --disable-nls --disable-shared --disable-debug \ --disable-werror \ --enable-poison-system-directories \ @@ -48,7 +48,7 @@ cd mn10200/binutils if [ ! -f configured-binutils ] then - CFLAGS=$cflags LDFLAGS=$ldflags ../../binutils-$MN_BINUTILS_VER/configure \ + ../../binutils-$MN_BINUTILS_VER/configure \ --prefix=$prefix --target=mn10200 --disable-nls --disable-debug \ --disable-multilib \ --disable-werror $CROSS_PARAMS \ @@ -78,9 +78,6 @@ cd $target/gcc if [ ! -f configured-gcc ] then - CFLAGS="$cflags" \ - CXXFLAGS="$cflags" \ - LDFLAGS="$ldflags" \ CFLAGS_FOR_TARGET="-O2 -ffunction-sections -fdata-sections" \ CXXFLAGS_FOR_TARGET="-O2 -ffunction-sections -fdata-sections" \ LDFLAGS_FOR_TARGET="" \