mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1061794 - move -Wshadow flags additions in layout/style/ to moz.build; r=mshal
This commit is contained in:
parent
eceea95b1e
commit
fe4904abce
@ -2,11 +2,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
ifdef GNU_CC
|
||||
OS_CFLAGS := $(OS_CFLAGS) -Wshadow
|
||||
OS_CXXFLAGS := $(OS_CXXFLAGS) -Wshadow
|
||||
endif
|
||||
|
||||
INSTALL_TARGETS += structlist
|
||||
structlist_FILES := nsStyleStructList.h
|
||||
structlist_DEST = $(DIST)/include
|
||||
|
@ -168,3 +168,7 @@ RESOURCE_FILES += [
|
||||
'TopLevelImageDocument.css',
|
||||
'TopLevelVideoDocument.css',
|
||||
]
|
||||
|
||||
if CONFIG['GNU_CC']:
|
||||
CFLAGS += ['-Wshadow']
|
||||
CXXFLAGS += ['-Wshadow']
|
||||
|
Loading…
Reference in New Issue
Block a user