We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd27d03 commit 1055487Copy full SHA for 1055487
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