From 93d651ccd2b69c1b26a7fa15ebba2bb6d5ff6dd5 Mon Sep 17 00:00:00 2001 From: midipix Date: May 24 2018 16:08:55 +0000 Subject: project: update the -XOPEN_SOURCE requirement. While _XOPEN_SOURCE=700 is the default for cross-platform components of the midipix project, slibtool strives to offer a libtool alternative to a range of users as wide as possible, and as such should keep the requirements from the host system to a bare minimum. --- diff --git a/README b/README index 1199be3..d3cfc33 100644 --- a/README +++ b/README @@ -45,7 +45,7 @@ effort, ease of customization, and long-term maintenance. - a C toolchain, consisting of - a C compiler such as gcc, clang, or [cparser]; - the compiler should support -std=c99; - - the system's libc should support -D_XOPEN_SOURCE=700. + - the system's libc should support -D_XOPEN_SOURCE=500. ## Usage diff --git a/config.project b/config.project index 7a87919..e9e8761 100644 --- a/config.project +++ b/config.project @@ -19,7 +19,7 @@ mb_default_shell=sh # switches -mb_default_cflags_common="-std=c99 -D_XOPEN_SOURCE=700" +mb_default_cflags_common="-std=c99 -D_XOPEN_SOURCE=500" mb_default_cflags_common="$mb_default_cflags_common -D_DEFAULT_SOURCE -D_BSD_SOURCE" mb_default_cflags_common="$mb_default_cflags_common -I\$(PROJECT_DIR)/src/internal" mb_default_cflags_common="$mb_default_cflags_common -I\$(PROJECT_DIR)/include"