summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-05-26 09:44:43 -0400
committermidipix <writeonce@midipix.org>2018-05-26 09:44:43 -0400
commit2246d8d848eb18a8e7acf51efe31db6a4adfbeae (patch)
treef524699055121ae018cd21fb3dc817e6e68c0451
parent93d651ccd2b69c1b26a7fa15ebba2bb6d5ff6dd5 (diff)
downloadslibtool-2246d8d848eb18a8e7acf51efe31db6a4adfbeae.tar.bz2
slibtool-2246d8d848eb18a8e7acf51efe31db6a4adfbeae.tar.xz
project: update the -XOPEN_SOURCE requirement to reflect -std=c99.
-rw-r--r--README2
-rw-r--r--config.project2
2 files changed, 2 insertions, 2 deletions
diff --git a/README b/README
index d3cfc33..ff2e1cd 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=500.
+ - the system's libc should support -D_XOPEN_SOURCE=600.
## Usage
diff --git a/config.project b/config.project
index e9e8761..6144f6d 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=500"
+mb_default_cflags_common="-std=c99 -D_XOPEN_SOURCE=600"
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"