summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2024-04-02 16:31:24 +0000
committerLaurent Bercot <ska@appnovation.com>2024-04-02 16:31:24 +0000
commit81872f7e0a6cbbb6aa29704459af0bc965d9c4a2 (patch)
treed441cbe6d2e4b0e65c1ddad26f4a3e6c9e707d5f
parent09db8b32db61b085030e8be2c6da2e9c2a86a128 (diff)
downloadskalibs-81872f7e0a6cbbb6aa29704459af0bc965d9c4a2.tar.xz
Support midipix
Signed-off-by: Laurent Bercot <ska@appnovation.com>
-rwxr-xr-xconfigure1
-rw-r--r--src/include/skalibs/nonposix.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/configure b/configure
index 0876b0a..8ebaf8d 100755
--- a/configure
+++ b/configure
@@ -583,7 +583,6 @@ tryflag CPPFLAGS_AUTO -Wno-unused-value
tryflag CPPFLAGS_AUTO -Wno-parentheses
tryflag CFLAGS_AUTO -ffunction-sections
tryflag CFLAGS_AUTO -fdata-sections
-tryldflag LDFLAGS_SHARED -nostartfiles
tryldflag LDFLAGS_AUTO -Wl,--as-needed
tryldflag LDFLAGS_AUTO -Wl,--sort-section=alignment
tryldflag LDFLAGS_AUTO -Wl,--sort-common
diff --git a/src/include/skalibs/nonposix.h b/src/include/skalibs/nonposix.h
index d617904..a1b99a9 100644
--- a/src/include/skalibs/nonposix.h
+++ b/src/include/skalibs/nonposix.h
@@ -34,7 +34,7 @@
#endif /* sun || __sun */
-#if defined(__linux__) || defined(__GNU__)
+#if defined(__linux__) || defined(__GNU__) || defined(__midipix__)
/* GNU (Linux or Hurd): most extensions are unavailable unless
you enable _GNU_SOURCE. Some Linux interfaces are also