Commit a199fe96c23d8034aec1288c727db5dec5754a4f

Thomas de Grivel 2023-11-18T15:15:28

-no-undefined

diff --git a/libc3/configure b/libc3/configure
index a2ae971..8b7a7e3 100755
--- a/libc3/configure
+++ b/libc3/configure
@@ -33,7 +33,7 @@ OBJECTS_DEBUG="$(c2ext .debug.lo "$LO_SOURCES")"
 # Common config for all targets
 CPPFLAGS="$CPPFLAGS -I../libffi/include"
 CFLAGS="$CFLAGS -W -Wall -Werror -std=c99 -pedantic -fPIC"
-LDFLAGS="--shared --no-undefined ${LDFLAGS}"
+LDFLAGS="--shared -no-undefined ${LDFLAGS}"
 LIBS="${LIBS} -lm -pthread -rpath ${PREFIX}/lib"
 config_asan
 config_gnu
diff --git a/libc3/window/cairo/configure b/libc3/window/cairo/configure
index 6f8d91f..fb563b5 100755
--- a/libc3/window/cairo/configure
+++ b/libc3/window/cairo/configure
@@ -38,7 +38,7 @@ OBJECTS_DEBUG="$(c2ext .debug.lo "$SOURCES")"
 # Common config for all targets
 CPPFLAGS="$CPPFLAGS -I../../../libffi/include -I../../.."
 CFLAGS="$CFLAGS -W -Wall -Werror -std=c99 -pedantic -fPIC"
-LDFLAGS="--shared --no-undefined ${LDFLAGS}"
+LDFLAGS="--shared -no-undefined ${LDFLAGS}"
 LIBS="$LIBS -rpath ${PREFIX}/lib"
 config_asan
 config_gnu
diff --git a/libc3/window/cairo/xcb/configure b/libc3/window/cairo/xcb/configure
index 8f2d9f1..0eca667 100755
--- a/libc3/window/cairo/xcb/configure
+++ b/libc3/window/cairo/xcb/configure
@@ -43,7 +43,7 @@ OBJECTS_DEBUG="$(c2ext .debug.lo "$SOURCES")"
 # Common config for all targets
 CPPFLAGS="$CPPFLAGS -I../../../../libffi/include -I../../../.."
 CFLAGS="$CFLAGS -W -Wall -Werror -std=c99 -pedantic -fPIC"
-LDFLAGS="--shared --no-undefined ${LDFLAGS}"
+LDFLAGS="--shared -no-undefined ${LDFLAGS}"
 LIBS="$LIBS -rpath ${PREFIX}/lib"
 config_asan
 config_gnu
diff --git a/libc3/window/cairo/xcb/window_cairo_xcb.c b/libc3/window/cairo/xcb/window_cairo_xcb.c
index 461d011..e03b573 100644
--- a/libc3/window/cairo/xcb/window_cairo_xcb.c
+++ b/libc3/window/cairo/xcb/window_cairo_xcb.c
@@ -62,7 +62,6 @@ bool window_cairo_xcb_event (s_window_cairo *window,
   case XCB_KEY_PRESS:
     event_key = (xcb_key_press_event_t *) event;
     xkb_keysym_t sym = xkb_state_key_get_one_sym(xkb_state, event_key->detail);
-    printf("KEY PRESS %d\n", sym);
     if (! window->key(window, sym))
       goto ko;
     break;
diff --git a/libc3/window/configure b/libc3/window/configure
index 3a25b5e..2458c6a 100755
--- a/libc3/window/configure
+++ b/libc3/window/configure
@@ -38,7 +38,7 @@ OBJECTS_DEBUG="$(c2ext .debug.lo "$SOURCES")"
 # Common config for all targets
 CPPFLAGS="$CPPFLAGS -I../../libffi/include -I../.."
 CFLAGS="$CFLAGS -W -Wall -Werror -std=c99 -pedantic -fPIC"
-LDFLAGS="--shared --no-undefined ${LDFLAGS}"
+LDFLAGS="--shared -no-undefined ${LDFLAGS}"
 LIBS="$LIBS -rpath ${PREFIX}/lib"
 config_asan
 config_gnu