We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70a3cc0 commit 89bae5eCopy full SHA for 89bae5e
1 file changed
emulators/wine/Makefile
@@ -19,6 +19,7 @@ GNU_CONFIGURE= yes
19
REPLACE_PERL+= tools/winemaker/winemaker
20
REPLACE_PERL+= tools/winedump/function_grep.pl
21
22
+MKPIE_SUPPORTED= no
23
CHECK_PIE_SUPPORTED= no
24
25
ONLY_FOR_PLATFORM+= *-*-i386 *-*-x86_64
@@ -61,6 +62,15 @@ CONFIGURE_ENV+= ac_cv_cflags__Wl___enable_new_dtags=no
61
62
CONFIGURE_ENV+= wine_cv_linux_gethostbyname_r_6=no
63
.endif
64
65
+.include "../../mk/compiler.mk"
66
+
67
+.if ${CC_VERSION:Mgcc-1*} || ${CC_VERSION:Mclang-*}
68
+CFLAGS+= -Wno-incompatible-pointer-types
69
+CFLAGS+= -Wno-implicit-function-declaration
70
+CXXFLAGS+= -Wno-incompatible-pointer-types
71
+CXXFLAGS+= -Wno-implicit-function-declaration
72
+.endif
73
74
.include "../../mk/oss.buildlink3.mk"
75
76
.if ${OSS_TYPE} != "none"
0 commit comments