From 17cf4beff7426f02e5cfb000dbacd13ce7df967a Mon Sep 17 00:00:00 2001 From: Wolfgang Thaller Date: Fri, 16 Oct 2015 18:05:14 +0200 Subject: [PATCH] pass CPPFLAGS to elf2flt build --- build-toolchain.sh | 1 + 1 file changed, 1 insertion(+) 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