put OSX flags in CXXFLAGS too

This commit is contained in:
Dave Murphy 2014-04-01 23:19:11 +01:00
parent 2f624a1c28
commit 98ed1540dd

2
dkarm-eabi/scripts/build-gcc.sh Normal file → Executable file
View 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\