freebsd: FreeBSD 12.1 does not build gcc

- Remove the warnings from the build

Closes #4109
This commit is contained in:
Chris Johns 2020-10-02 12:18:49 +10:00
parent a74f317cea
commit 8af551c5a5

View File

@ -102,7 +102,7 @@ def load():
# bracket depth build build the gcc ARM compiler.
#
defines['build_cflags'] = '-O2 -pipe -fbracket-depth=1024'
defines['build_cxxflags'] = '-O2 -pipe -fbracket-depth=1024'
defines['build_cxxflags'] = '-O2 -pipe -fbracket-depth=1024 -Wno-deprecated -Wno-reserved-user-defined-literal'
cvs = 'cvs'
if check.check_exe(cvs, cvs):
defines['__cvs'] = cvs