Skip to content

Commit

Permalink
crosstool build: Fix GNU make build
Browse files Browse the repository at this point in the history
Signed-off-by: Dimitar Dimitrov <[email protected]>
  • Loading branch information
Dimitar Dimitrov committed May 27, 2024
1 parent 4afc38c commit 84757e9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build-crosstool-ng.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ build_install_make.exe()
pushd ${builddir}
tar xaf ${make_tar}
pushd make*
./configure --host=x86_64-w64-mingw32
# TODO - GNU make 4.4 has implicit function declarations.
# Remove the custom CFLAGS for the next version.
./configure --host=x86_64-w64-mingw32 CFLAGS='-O2 -Wno-implicit-function-declaration'
make -j${nproc}
cp make.exe $HOME/x-tools/HOST-x86_64-w64-mingw32/pru-elf/bin/
popd
Expand Down

0 comments on commit 84757e9

Please sign in to comment.