When using CFLAGS such as "-march=znver2 --param l1-cache-line-size=64 --param l1-cache-size=32 -O2 -pipe," gpsd fails to compile: x86_64-pc-linux-gnu-gcc -pthread -o packet-py_3_7_8_final_0.cpython-37m-x86_64-linux-gnu.so -c -Wno-unused-result -Wsign-compare -march=znver2 --param -O2 -pipe -O2 -fPIC -DNDEBUG -I/usr/include/python3.7m packet.c cc1: error: -O2: --param arguments should be of the form NAME=VALUE The argument after "--param" gets stripped off when compiling some files (python related?) and the compiler errors out on the invalid command line. Reproducible: Always
This happens in upstreams git head.
Actually it looks like a duplicate of https://github.com/SCons/scons/issues/3017 .
(In reply to James Browning from comment #2) > Actually it looks like a duplicate of > https://github.com/SCons/scons/issues/3017 . Thanks!