If cc configuration is set to use -Werror
is there a way to override -Werror
flag from the terminal when using make?
You can set flags when invoking make:
CFLAGS=-Wno-error make
来源:https://stackoverflow.com/questions/11750988/quick-way-to-override-werror-flag