summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-05-24 12:08:55 -0400
committermidipix <writeonce@midipix.org>2018-05-24 12:08:55 -0400
commit93d651ccd2b69c1b26a7fa15ebba2bb6d5ff6dd5 (patch)
tree8908aacc805a4a59642156c130824d2693cf6430
parent3438e653ca1ac0910d42e6e7096a2ea166e9ffdd (diff)
downloadslibtool-93d651ccd2b69c1b26a7fa15ebba2bb6d5ff6dd5.tar.bz2
slibtool-93d651ccd2b69c1b26a7fa15ebba2bb6d5ff6dd5.tar.xz
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.
-rw-r--r--README2
-rw-r--r--config.project2
2 files changed, 2 insertions, 2 deletions
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"