Skip to content

Commit 945640b

Browse files
committed
add OSX sysroot to gdb CXXFLAGS
1 parent 53375e9 commit 945640b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

dkarm-eabi/scripts/build-gcc.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,10 @@ PLATFORM=`uname -s`
154154

155155
if [ ! -f configured-gdb ]
156156
then
157-
CFLAGS="$cflags" LDFLAGS="$ldflags" ../../gdb-$GDB_VER/configure \
157+
CFLAGS="$cflags" \
158+
CXXFLAGS="$cflags" \
159+
LDFLAGS="$ldflags" \
160+
../../gdb-$GDB_VER/configure \
158161
--disable-nls --prefix=$prefix --target=$target --disable-werror \
159162
$CROSS_PARAMS \
160163
|| { echo "Error configuring gdb"; exit 1; }

0 commit comments

Comments
 (0)