Skip to content

Commit ab8de43

Browse files
committed
remove lto hack
1 parent 26cc59f commit ab8de43

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

build-devkit.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,6 @@ case $PLATFORM in
185185
;;
186186
MINGW32* )
187187
cflags="-D__USE_MINGW_ACCESS"
188-
# horrid hack to get -flto to work on windows
189-
plugin_ld="--with-plugin-ld=ld"
190188
;;
191189
esac
192190

dkarm-eabi/scripts/build-gcc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ then
6060
--with-newlib \
6161
--with-headers=../../newlib-$NEWLIB_VER/newlib/libc/include \
6262
--prefix=$prefix \
63-
--enable-lto $plugin_ld\
63+
--enable-lto\
6464
--with-system-zlib \
6565
--with-bugurl="http://wiki.devkitpro.org/index.php/Bug_Reports" --with-pkgversion="devkitARM release 48" \
6666
$CROSS_PARAMS \

0 commit comments

Comments
 (0)