mirror of https://git.wownero.com/dsc/mxe.git
gtk*mm*: use gcc plugin-specific extra warning variables
This commit is contained in:
parent
6d35467540
commit
a019fc0acf
|
@ -33,3 +33,6 @@ db_PATCHES := $(TOP_DIR)/src/db-1-fix-including-winioctl-h-lowcase.patch
|
||||||
libssh_EXTRA_WARNINGS = -Wno-error=implicit-fallthrough
|
libssh_EXTRA_WARNINGS = -Wno-error=implicit-fallthrough
|
||||||
gtkimageview_EXTRA_WARNINGS = -Wno-error=misleading-indentation
|
gtkimageview_EXTRA_WARNINGS = -Wno-error=misleading-indentation
|
||||||
guile_EXTRA_WARNINGS = -Wno-error=misleading-indentation
|
guile_EXTRA_WARNINGS = -Wno-error=misleading-indentation
|
||||||
|
gtkmm2_EXTRA_WARNINGS = -Wno-error=cast-function-type
|
||||||
|
gtkmm3_EXTRA_WARNINGS = -Wno-error=cast-function-type
|
||||||
|
gtkglextmm_EXTRA_WARNINGS = -Wno-error=cast-function-type
|
||||||
|
|
|
@ -33,3 +33,6 @@ db_PATCHES := $(TOP_DIR)/src/db-1-fix-including-winioctl-h-lowcase.patch
|
||||||
libssh_EXTRA_WARNINGS = -Wno-error=implicit-fallthrough
|
libssh_EXTRA_WARNINGS = -Wno-error=implicit-fallthrough
|
||||||
gtkimageview_EXTRA_WARNINGS = -Wno-error=misleading-indentation
|
gtkimageview_EXTRA_WARNINGS = -Wno-error=misleading-indentation
|
||||||
guile_EXTRA_WARNINGS = -Wno-error=misleading-indentation
|
guile_EXTRA_WARNINGS = -Wno-error=misleading-indentation
|
||||||
|
gtkmm2_EXTRA_WARNINGS = -Wno-error=cast-function-type
|
||||||
|
gtkmm3_EXTRA_WARNINGS = -Wno-error=cast-function-type
|
||||||
|
gtkglextmm_EXTRA_WARNINGS = -Wno-error=cast-function-type
|
||||||
|
|
|
@ -33,7 +33,7 @@ define $(PKG)_BUILD
|
||||||
'$(TARGET)-g++' \
|
'$(TARGET)-g++' \
|
||||||
-W -Wall -Werror -Wno-error=deprecated-declarations -pedantic -std=c++0x \
|
-W -Wall -Werror -Wno-error=deprecated-declarations -pedantic -std=c++0x \
|
||||||
-Wno-error=deprecated \
|
-Wno-error=deprecated \
|
||||||
-Wno-error=cast-function-type \
|
$($(PKG)_EXTRA_WARNINGS) \
|
||||||
'$(TEST_FILE)' -o '$(PREFIX)/$(TARGET)/bin/test-gtkglextmm.exe' \
|
'$(TEST_FILE)' -o '$(PREFIX)/$(TARGET)/bin/test-gtkglextmm.exe' \
|
||||||
`'$(TARGET)-pkg-config' gtkglextmm-1.2 --cflags --libs`
|
`'$(TARGET)-pkg-config' gtkglextmm-1.2 --cflags --libs`
|
||||||
endef
|
endef
|
||||||
|
|
|
@ -32,7 +32,7 @@ define $(PKG)_BUILD
|
||||||
'$(TARGET)-g++' \
|
'$(TARGET)-g++' \
|
||||||
-W -Wall -Wno-deprecated-declarations -Werror -pedantic -std=c++11 \
|
-W -Wall -Wno-deprecated-declarations -Werror -pedantic -std=c++11 \
|
||||||
-Wno-error=deprecated \
|
-Wno-error=deprecated \
|
||||||
-Wno-error=cast-function-type \
|
$($(PKG)_EXTRA_WARNINGS) \
|
||||||
'$(TEST_FILE)' -o '$(PREFIX)/$(TARGET)/bin/test-gtkmm2.exe' \
|
'$(TEST_FILE)' -o '$(PREFIX)/$(TARGET)/bin/test-gtkmm2.exe' \
|
||||||
`'$(TARGET)-pkg-config' gtkmm-2.4 --cflags --libs`
|
`'$(TARGET)-pkg-config' gtkmm-2.4 --cflags --libs`
|
||||||
endef
|
endef
|
||||||
|
|
|
@ -29,7 +29,7 @@ define $(PKG)_BUILD
|
||||||
'$(TARGET)-g++' \
|
'$(TARGET)-g++' \
|
||||||
-W -Wall -Wno-deprecated-declarations -Werror -pedantic -std=c++11 \
|
-W -Wall -Wno-deprecated-declarations -Werror -pedantic -std=c++11 \
|
||||||
-Wno-error=deprecated \
|
-Wno-error=deprecated \
|
||||||
-Wno-error=cast-function-type \
|
$($(PKG)_EXTRA_WARNINGS) \
|
||||||
'$(TEST_FILE)' -o '$(PREFIX)/$(TARGET)/bin/test-gtkmm3.exe' \
|
'$(TEST_FILE)' -o '$(PREFIX)/$(TARGET)/bin/test-gtkmm3.exe' \
|
||||||
`'$(TARGET)-pkg-config' gtkmm-3.0 --cflags --libs`
|
`'$(TARGET)-pkg-config' gtkmm-3.0 --cflags --libs`
|
||||||
endef
|
endef
|
||||||
|
|
Loading…
Reference in New Issue