mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
Since -Wno-long-long is ignored without -pedantic,
place it with -pedantic. Remove -Wunused since it is implied by -Wall. Group -Wno-unused-parameter with -Wall -W since it is the combination of these two that turns on -Wunused-parameter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73765 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b1019480b6
commit
9ff4c13668
@ -519,10 +519,10 @@ endif
|
||||
#----------------------------------------------------------
|
||||
|
||||
ifndef NO_PEDANTIC
|
||||
CompileCommonOpts += -pedantic
|
||||
CompileCommonOpts += -pedantic -Wno-long-long
|
||||
endif
|
||||
CompileCommonOpts += -Wall -W -Wwrite-strings -Wno-long-long \
|
||||
-Wunused -Wno-unused-parameter $(EXTRA_OPTIONS)
|
||||
CompileCommonOpts += -Wall -W -Wno-unused-parameter -Wwrite-strings \
|
||||
$(EXTRA_OPTIONS)
|
||||
|
||||
ifeq ($(OS),HP-UX)
|
||||
CompileCommonOpts := -D_REENTRANT -D_HPUX_SOURCE
|
||||
|
Loading…
Reference in New Issue
Block a user