A quick way to override the -Werror flag?

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

+7
source share
1 answer

You can set flags when calling make:

 CFLAGS=-Wno-error make 
+12
source

All Articles