Allow -fno-stack-protector in CFLAGS
While building with emscripten emmake cmake .. -G"Unix Makefiles" -DCMAKE_C_FLAGS="..."
, it doesnt seem to be possible to disable -fstack-protector-strong
which is hardcoded in CMakeLists.txt. I have tried with -DCMAKE_C_FLAGS="-no-stack-protector"
but no luck.
I wonder if there is any other option than customising CMakeLists.txt?
Edited by Jozef Chúťka