diff --git a/build-toolchain.sh b/build-toolchain.sh index 5d828a7ed0..443bced0c5 100644 --- a/build-toolchain.sh +++ b/build-toolchain.sh @@ -67,6 +67,7 @@ cp $SRC/elf.h $PREFIX/include/ # Build elf2flt export "CFLAGS=-I${SRC}/binutils/include -I../toolchain/include" +export "CPPFLAGS=$CFLAGS" mkdir -p elf2flt-build cd elf2flt-build $SRC/elf2flt/configure --target=m68k-apple-macos --prefix=$PREFIX --with-binutils-build-dir=$BINUTILS