Skip to content

Commit a0ee149

Browse files
committed
devkitA64: remove obsolete flag setting
1 parent da06cfb commit a0ee149

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

dka64/scripts/build-gcc.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ cd $target/binutils
1010

1111
if [ ! -f configured-binutils ]
1212
then
13-
CFLAGS=$cflags LDFLAGS=$ldflags ../../binutils-$BINUTILS_VER/configure \
13+
../../binutils-$BINUTILS_VER/configure \
1414
--prefix=$prefix --target=$target --disable-nls --disable-werror \
1515
--enable-lto --enable-plugins --enable-poison-system-directories \
1616
$CROSS_PARAMS \
@@ -39,9 +39,6 @@ cd $target/gcc
3939

4040
if [ ! -f configured-gcc ]
4141
then
42-
CFLAGS="$cflags" \
43-
CXXFLAGS="$cflags" \
44-
LDFLAGS="$ldflags" \
4542
CFLAGS_FOR_TARGET="-O2 -ffunction-sections -fdata-sections" \
4643
CXXFLAGS_FOR_TARGET="-O2 -ffunction-sections -fdata-sections" \
4744
LDFLAGS_FOR_TARGET="" \
@@ -52,7 +49,7 @@ then
5249
--enable-cxx-flags='-ffunction-sections' \
5350
--disable-libstdcxx-verbose \
5451
--enable-poison-system-directories \
55-
--enable-interwork --enable-multilib \
52+
--enable-multilib \
5653
--enable-threads --disable-win32-registry --disable-nls --disable-debug\
5754
--disable-libmudflap --disable-libssp --disable-libgomp \
5855
--disable-libstdcxx-pch \

0 commit comments

Comments
 (0)