Quick way to override -Werror flag?

Nickolay Kondratyev picture Nickolay Kondratyev · Aug 1, 2012 · Viewed 19.2k times · Source

If cc configuration is set to use -Werror is there a way to override -Werror flag from the terminal when using make?

Answer

blahdiblah picture blahdiblah · Aug 1, 2012

You can set flags when invoking make:

CFLAGS=-Wno-error make