cc: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
Closed this issue · 3 comments
jeffpc commented
When making a release build, clang outputs the following for each .c file:
cc: warning: argument unused during compilation: '-s' [-Wunused-command-line-argument]
I'm assuming this is supposed to be the strip option on gcc, which is AFAIK a linker option. Therefore, it should not be set on CMAKE_C_FLAGS_RELEASE
but rather on whatever the linking equivalent is.
jeffpc commented
I should add, the build succeeds just fine. It's just noisy, that's all.
BatchDrake commented
Done. Changes in develop now.
jeffpc commented
Fix works. It looks so much better now :)