remove lto hack

This commit is contained in:
Dave Murphy 2018-05-22 16:32:29 +00:00
parent 26cc59f4f6
commit ab8de4361a
2 changed files with 1 additions and 3 deletions

View File

@ -185,8 +185,6 @@ case $PLATFORM in
;;
MINGW32* )
cflags="-D__USE_MINGW_ACCESS"
# horrid hack to get -flto to work on windows
plugin_ld="--with-plugin-ld=ld"
;;
esac

View File

@ -60,7 +60,7 @@ then
--with-newlib \
--with-headers=../../newlib-$NEWLIB_VER/newlib/libc/include \
--prefix=$prefix \
--enable-lto $plugin_ld\
--enable-lto\
--with-system-zlib \
--with-bugurl="http://wiki.devkitpro.org/index.php/Bug_Reports" --with-pkgversion="devkitARM release 48" \
$CROSS_PARAMS \