mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-08-21 09:54:03 -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
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#---------------------------------------------------------------------------------
|
|
||||||
# Sane defaults for building toolchain
|
|
||||||
#---------------------------------------------------------------------------------
|
|
||||||
export CFLAGS="-O2 -pipe"
|
|
||||||
export CXXFLAGS="$CFLAGS"
|
|
||||||
unset LDFLAGS
|
|
||||||
|
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
# Look for automated configuration file to bypass prompts
|
# Look for automated configuration file to bypass prompts
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
@@ -162,7 +155,7 @@ case $PLATFORM in
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
MINGW32* )
|
MINGW32* )
|
||||||
cppflags="-D__USE_MINGW_ACCESS"
|
cppflags="-D__USE_MINGW_ACCESS -D__USE_MINGW_ANSI_STDIO=1"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@@ -238,8 +231,10 @@ fi
|
|||||||
|
|
||||||
cd $BUILDSCRIPTDIR
|
cd $BUILDSCRIPTDIR
|
||||||
|
|
||||||
echo "stripping installed binaries"
|
if [ "$BUILD_DKPRO_NO_STRIP_BINARIES" != "1" ]; then
|
||||||
. ./strip_bins.sh
|
echo "stripping installed binaries"
|
||||||
|
. ./strip_bins.sh
|
||||||
|
fi
|
||||||
|
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
# Clean up temporary files and source directories
|
# Clean up temporary files and source directories
|
||||||
|
|||||||
@@ -62,10 +62,9 @@ then
|
|||||||
--with-newlib=yes \
|
--with-newlib=yes \
|
||||||
--with-headers=../../newlib-$NEWLIB_VER/newlib/libc/include \
|
--with-headers=../../newlib-$NEWLIB_VER/newlib/libc/include \
|
||||||
--prefix=$prefix \
|
--prefix=$prefix \
|
||||||
--enable-lto $plugin_ld\
|
--enable-lto \
|
||||||
--with-system-zlib \
|
--disable-tm-clone-registry \
|
||||||
--disable-tm-clone-registry \
|
--disable-__cxa_atexit \
|
||||||
--disable-__cxa_atexit \
|
|
||||||
--with-bugurl="https://github.com/devkitPro/buildscripts/issues" --with-pkgversion="devkitA64 release 17" \
|
--with-bugurl="https://github.com/devkitPro/buildscripts/issues" --with-pkgversion="devkitA64 release 17" \
|
||||||
$CROSS_PARAMS \
|
$CROSS_PARAMS \
|
||||||
$CROSS_GCC_PARAMS \
|
$CROSS_GCC_PARAMS \
|
||||||
|
|||||||
Reference in New Issue
Block a user