mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-04-24 23:11:00 -05:00
put OSX flags in CXXFLAGS too
This commit is contained in:
parent
2f624a1c28
commit
98ed1540dd
2
dkarm-eabi/scripts/build-gcc.sh
Normal file → Executable file
2
dkarm-eabi/scripts/build-gcc.sh
Normal file → Executable file
|
|
@ -39,7 +39,7 @@ cd $target/gcc
|
|||
|
||||
if [ ! -f configured-gcc ]
|
||||
then
|
||||
CFLAGS="$cflags" LDFLAGS="$ldflags" CFLAGS_FOR_TARGET="-O2" LDFLAGS_FOR_TARGET="" ../../gcc-$GCC_VER/configure \
|
||||
CFLAGS="$cflags" CXXFLAGS="$cflags" LDFLAGS="$ldflags" CFLAGS_FOR_TARGET="-O2" LDFLAGS_FOR_TARGET="" ../../gcc-$GCC_VER/configure \
|
||||
--enable-languages=c,c++,objc,obj-c++ \
|
||||
--with-gnu-as --with-gnu-ld --with-gcc \
|
||||
--with-march=armv4t\
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user