mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-03-22 01:54:32 -05:00
devkitARM: use LDFLAGS from environment
This commit is contained in:
parent
2422223439
commit
41922724cb
|
|
@ -10,7 +10,7 @@ cd $target/binutils
|
|||
|
||||
if [ ! -f configured-binutils ]
|
||||
then
|
||||
CPPFLAGS="$cppflags $CPPFLAGS" LDFLAGS=$ldflags ../../binutils-$BINUTILS_VER/configure \
|
||||
CPPFLAGS="$cppflags $CPPFLAGS" LDFLAGS="$ldflags $LDFLAGS" ../../binutils-$BINUTILS_VER/configure \
|
||||
--prefix=$prefix --target=$target --disable-nls --disable-werror \
|
||||
--enable-lto --enable-plugins \
|
||||
--enable-poison-system-directories \
|
||||
|
|
@ -41,7 +41,7 @@ cd $target/gcc
|
|||
if [ ! -f configured-gcc ]
|
||||
then
|
||||
CPPFLAGS="$cppflags $CPPFLAGS" \
|
||||
LDFLAGS="$ldflags" \
|
||||
LDFLAGS="$ldflags $LDFLAGS" \
|
||||
CFLAGS_FOR_TARGET="-O2 -ffunction-sections -fdata-sections" \
|
||||
CXXFLAGS_FOR_TARGET="-O2 -ffunction-sections -fdata-sections" \
|
||||
LDFLAGS_FOR_TARGET="" \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user