Closed lancethepants closed 2 years ago
Could you try simply removing it? It was used to silence clang warnings about flag combinations that are not relevant anymore IIRC.
Looking in the meson logs it is showing it is supported despite
Compiler stderr
saying that it's not recognized by the compiler.
If you try running this compiler on the command line by hand, what does it say when given that option?
arm-brcm-linux-uclibcgnueabi-gcc: unrecognized option '-Qunused-arguments'
For me, I get:
gcc: error: unrecognized command-line option ‘-Qunused-arguments’
and the compiler exits 1 for failure without producing compiled output.
Why are you getting lots of warnings instead of lots of errors?
So when I manually run the command arm-brcm-linux-uclibcgnueabi-gcc -Qunused-arguments hello.c -o hello
the compiler does exit with 0
and I have a hello
binary. Perhaps it has something to do with being a very old compiler version (4.5.3) because on newer compilers I do see exit 1
.
Fixed by PR #384.
I noticed I was getting lots of warnings
unrecognized option '-Qunused-arguments'
while cross-compiling tinc. Looking in the meson logs it is showing it is supported despiteCompiler stderr
saying that it's not recognized by the compiler.