Commit 092654d52df53b14d7536a86430d66b1daf5af53

Thomas de Grivel 2023-12-07T16:17:52

-Wno-error=clobbered

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/libc3/window/sdl2/configure b/libc3/window/sdl2/configure
index d6fb421..827dc96 100755
--- a/libc3/window/sdl2/configure
+++ b/libc3/window/sdl2/configure
@@ -38,7 +38,7 @@ OBJECTS_DEBUG="$(c2ext .debug.lo "$SOURCES")"
 # Common config for all targets
 CPPFLAGS="-I../../../libffi/include -I../../.. $CPPFLAGS"
 CPPFLAGS="$CPPFLAGS -DGL_SILENCE_DEPRECATION=1"
-CFLAGS="$CFLAGS -W -Wall -Werror -std=c99 -pedantic"
+CFLAGS="$CFLAGS -W -Wall -Werror -Wno-error=clobbered -std=c99 -pedantic"
 LDFLAGS="--shared ${LDFLAGS}"
 LIBS="$LIBS -rpath ${PREFIX}/lib"
 config_asan