Commit 9d727d9e674902579c667ec9bbbf5deaf685f625

Thomas de Grivel 2024-02-27T10:41:05

-fopenmp

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/libc3/window/sdl2/demo/configure b/libc3/window/sdl2/demo/configure
index 32d57c9..0529b69 100755
--- a/libc3/window/sdl2/demo/configure
+++ b/libc3/window/sdl2/demo/configure
@@ -44,10 +44,10 @@ OBJECTS_DEBUG="$(c2ext .debug.lo "$SOURCES")"
 echo "OBJECTS_DEBUG = $OBJECTS_DEBUG" >> ${CONFIG_MK}
 
 # Common config for all targets
-CPPFLAGS="-I../../../.. $CPPFLAGS"
+CPPFLAGS="-fopenmp -I../../../.. $CPPFLAGS"
 #CPPFLAGS="$CPPFLAGS -DGL_SILENCE_DEPRECATION=1"
 CFLAGS="$CFLAGS -W -Wall -Werror -std=c11 -pedantic"
-LIBS="$LIBS -lm"
+LIBS="$LIBS -lm -fopenmp"
 config_asan
 config_gnu
 pkg_config libbsd-overlay