mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-30 06:40:53 +00:00
Allow client Makefiles control over whether they want -pedantic by
defining NO_PEDANTIC. - Pedantic C89 is a painful language... llvm-svn: 71545
This commit is contained in:
parent
ead0ba2ea0
commit
353db71295
@ -515,7 +515,10 @@ endif
|
||||
# Options To Invoke Tools
|
||||
#----------------------------------------------------------
|
||||
|
||||
CompileCommonOpts += -pedantic -Wall -W -Wwrite-strings -Wno-long-long \
|
||||
ifndef NO_PEDANTIC
|
||||
CompileCommonOpts += -pedantic
|
||||
endif
|
||||
CompileCommonOpts += -Wall -W -Wwrite-strings -Wno-long-long \
|
||||
-Wunused -Wno-unused-parameter $(EXTRA_OPTIONS)
|
||||
|
||||
ifeq ($(OS),HP-UX)
|
||||
|
Loading…
Reference in New Issue
Block a user