add OSX sysroot to gdb CXXFLAGS

This commit is contained in:
Dave Murphy
2017-01-16 23:55:58 +00:00
parent 53375e9a69
commit 945640b296

View File

@@ -154,7 +154,10 @@ PLATFORM=`uname -s`
if [ ! -f configured-gdb ]
then
CFLAGS="$cflags" LDFLAGS="$ldflags" ../../gdb-$GDB_VER/configure \
CFLAGS="$cflags" \
CXXFLAGS="$cflags" \
LDFLAGS="$ldflags" \
../../gdb-$GDB_VER/configure \
--disable-nls --prefix=$prefix --target=$target --disable-werror \
$CROSS_PARAMS \
|| { echo "Error configuring gdb"; exit 1; }