disable warnings/hints when building the compiler

fixes https://github.com/status-im/nimbus-build-system/issues/4
This commit is contained in:
Ștefan Talpalaru 2019-12-03 17:16:24 +01:00
parent 42c5e97a5b
commit 6cfabf7820
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
1 changed files with 5 additions and 1 deletions

View File

@ -116,7 +116,11 @@ build_nim() {
else else
cp -a bin/nim bin/nim_csources cp -a bin/nim bin/nim_csources
fi fi
sed 's/koch tools/koch --stable tools/' build_all.sh > build_all_custom.sh sed \
-e 's/koch$/--warnings:off --hints:off koch/' \
-e 's/koch boot/koch boot --warnings:off --hints:off/' \
-e 's/koch tools/koch --stable tools --warnings:off --hints:off/' \
build_all.sh > build_all_custom.sh
sh build_all_custom.sh sh build_all_custom.sh
rm build_all_custom.sh rm build_all_custom.sh