summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2022-12-01 04:25:48 +0000
committermidipix <writeonce@midipix.org>2022-12-01 04:25:48 +0000
commitde0d70f96aa435e938c59ef3c7239f662f7d87f8 (patch)
treedcbe71916a9c52d2797a79d4fd0935f77567712c
parentdfe02ce8279fb5253930dfbdde190ac2a7004a16 (diff)
downloadtpax-de0d70f96aa435e938c59ef3c7239f662f7d87f8.tar.bz2
tpax-de0d70f96aa435e938c59ef3c7239f662f7d87f8.tar.xz
project: default cflags: favor modern bsd targets.
-rw-r--r--config.project2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.project b/config.project
index bef65ae..50fa4c2 100644
--- a/config.project
+++ b/config.project
@@ -42,7 +42,7 @@ mb_hosted=
mb_freestanding=
# switches
-mb_default_cflags_common="\$(_CFLAGS_std_c99) -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D__BSD_VISIBLE"
+mb_default_cflags_common="\$(_CFLAGS_std_c99) -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE"
mb_default_cflags_common="$mb_default_cflags_common -I\$(SOURCE_DIR)/src/internal"
mb_default_cflags_common="$mb_default_cflags_common -I\$(SOURCE_DIR)/include"
mb_default_cflags_common="$mb_default_cflags_common -Ibuild"