File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ GNU_CONFIGURE= yes
1919REPLACE_PERL+ = tools/winemaker/winemaker
2020REPLACE_PERL+ = tools/winedump/function_grep.pl
2121
22+ MKPIE_SUPPORTED = no
2223CHECK_PIE_SUPPORTED = no
2324
2425ONLY_FOR_PLATFORM+ = *-*-i386 *-*-x86_64
@@ -61,6 +62,15 @@ CONFIGURE_ENV+= ac_cv_cflags__Wl___enable_new_dtags=no
6162CONFIGURE_ENV+ = wine_cv_linux_gethostbyname_r_6=no
6263.endif
6364
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+
6474.include "../../mk/oss.buildlink3.mk"
6575
6676.if ${OSS_TYPE} != "none"
You can’t perform that action at this time.
0 commit comments