mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-08-21 18:04:06 -05:00
Compare commits
4 Commits
devkitARM_
...
devkitA64_
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b8c7c915bc | ||
|
|
c108162819 | ||
|
|
e952463476 | ||
|
|
1444dc91df |
@@ -59,13 +59,6 @@ if [ ! -z "$CROSSBUILD" ] ; then
|
||||
fi
|
||||
fi
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Sane defaults for building toolchain
|
||||
#---------------------------------------------------------------------------------
|
||||
export CFLAGS="-O2 -pipe"
|
||||
export CXXFLAGS="$CFLAGS"
|
||||
unset LDFLAGS
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Look for automated configuration file to bypass prompts
|
||||
#---------------------------------------------------------------------------------
|
||||
@@ -162,7 +155,7 @@ case $PLATFORM in
|
||||
fi
|
||||
;;
|
||||
MINGW32* )
|
||||
cppflags="-D__USE_MINGW_ACCESS"
|
||||
cppflags="-D__USE_MINGW_ACCESS -D__USE_MINGW_ANSI_STDIO=1"
|
||||
;;
|
||||
esac
|
||||
|
||||
@@ -238,8 +231,10 @@ fi
|
||||
|
||||
cd $BUILDSCRIPTDIR
|
||||
|
||||
echo "stripping installed binaries"
|
||||
. ./strip_bins.sh
|
||||
if [ "$BUILD_DKPRO_NO_STRIP_BINARIES" != "1" ]; then
|
||||
echo "stripping installed binaries"
|
||||
. ./strip_bins.sh
|
||||
fi
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# Clean up temporary files and source directories
|
||||
|
||||
@@ -62,10 +62,9 @@ then
|
||||
--with-newlib=yes \
|
||||
--with-headers=../../newlib-$NEWLIB_VER/newlib/libc/include \
|
||||
--prefix=$prefix \
|
||||
--enable-lto $plugin_ld\
|
||||
--with-system-zlib \
|
||||
--disable-tm-clone-registry \
|
||||
--disable-__cxa_atexit \
|
||||
--enable-lto \
|
||||
--disable-tm-clone-registry \
|
||||
--disable-__cxa_atexit \
|
||||
--with-bugurl="https://github.com/devkitPro/buildscripts/issues" --with-pkgversion="devkitA64 release 17" \
|
||||
$CROSS_PARAMS \
|
||||
$CROSS_GCC_PARAMS \
|
||||
|
||||
Reference in New Issue
Block a user