There was an error while loading. Please reload this page.
1 parent 11eea0f commit 7960371Copy full SHA for 7960371
1 file changed
devel/SDL2/Makefile
@@ -53,6 +53,13 @@ CONFIGURE_ARGS+= --disable-ssemath
53
CONFIGURE_ARGS+= --disable-sse2
54
.endif
55
56
+.include "../../mk/compiler.mk"
57
+
58
+.if ${CC_VERSION:Mclang-*} || ${CC_VERSION:Mgcc-1*}
59
+CXXFLAGS+= -Wno-incompatible-pointer-types
60
+CFLAGS+= -Wno-incompatible-pointer-types
61
+.endif
62
63
PKGCONFIG_OVERRIDE+= sdl2.pc.in
64
65
CHECK_PORTABILITY_SKIP+= build-scripts/androidbuildlibs.sh
0 commit comments