Skip to content

Commit 84757e9

Browse files
author
Dimitar Dimitrov
committed
crosstool build: Fix GNU make build
Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
1 parent 4afc38c commit 84757e9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build-crosstool-ng.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,9 @@ build_install_make.exe()
9696
pushd ${builddir}
9797
tar xaf ${make_tar}
9898
pushd make*
99-
./configure --host=x86_64-w64-mingw32
99+
# TODO - GNU make 4.4 has implicit function declarations.
100+
# Remove the custom CFLAGS for the next version.
101+
./configure --host=x86_64-w64-mingw32 CFLAGS='-O2 -Wno-implicit-function-declaration'
100102
make -j${nproc}
101103
cp make.exe $HOME/x-tools/HOST-x86_64-w64-mingw32/pru-elf/bin/
102104
popd

0 commit comments

Comments
 (0)