Skip to content
Snippets Groups Projects
Commit 1fe860f6 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Add WALL option.

parent 9fe49eba
No related branches found
No related tags found
No related merge requests found
Pipeline #5648 passed
...@@ -94,7 +94,8 @@ ...@@ -94,7 +94,8 @@
# MT_LDFLAGS - LDFLAGS for linking MT targets # # MT_LDFLAGS - LDFLAGS for linking MT targets #
# UL_PRE - Use Library prefix (*nix is -l) # # UL_PRE - Use Library prefix (*nix is -l) #
# UL_SUF - Use Library siffix (bcc is .lib) # # UL_SUF - Use Library siffix (bcc is .lib) #
# WERROR - Error on warnings # # WERROR - Error on warnings (-Werror) #
# WALL - All warnings, even for a RELEASE build (-Wall) #
# # # #
# Common Targets Defined: # # Common Targets Defined: #
# Implicit C and C++ targets # # Implicit C and C++ targets #
...@@ -164,10 +165,12 @@ ifndef VERBOSE ...@@ -164,10 +165,12 @@ ifndef VERBOSE
QUIET := @ QUIET := @
endif endif
# WERROR
ifdef WERROR ifdef WERROR
CFLAGS += -Werror CFLAGS += -Werror
endif endif
ifdef WALL
CFLAGS += -Wall
endif
# Compiler-specific options # Compiler-specific options
CFLAGS += -MMD CFLAGS += -MMD
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment