Commit 508c7d3c96a6aeb00ea641aa528f6312471d5cff

Thomas de Grivel 2023-12-07T23:59:11

fix compilation

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/libc3/window/sdl2/demo/configure b/libc3/window/sdl2/demo/configure
index f6ed10f..57be739 100755
--- a/libc3/window/sdl2/demo/configure
+++ b/libc3/window/sdl2/demo/configure
@@ -44,7 +44,7 @@ OBJECTS_DEBUG="$(c2ext .debug.lo "$SOURCES")"
 echo "OBJECTS_DEBUG = $OBJECTS_DEBUG" >> ${CONFIG_MK}
 
 # Common config for all targets
-CPPFLAGS="$CPPFLAGS -I../../../../libffi/include -I../../../.."
+CPPFLAGS="-I../../../../libffi/include -I../../../.. $CPPFLAGS"
 CPPFLAGS="$CPPFLAGS -DGL_SILENCE_DEPRECATION=1"
 CFLAGS="$CFLAGS -W -Wall -Werror -std=c99 -pedantic"
 LIBS="$LIBS"