summaryrefslogtreecommitdiff
path: root/config.project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-06-05 02:55:28 +0000
committermidipix <writeonce@midipix.org>2021-06-05 02:55:28 +0000
commit5a3691c49cf159a7d9ccbd7eacdb4d6a7bf8cf01 (patch)
tree9730a0f1ec1f7d071202cbfb1565a565021bd2d5 /config.project
parent045ae48cf6651bef3643523944ce11f12b7c9cea (diff)
downloadtpax-5a3691c49cf159a7d9ccbd7eacdb4d6a7bf8cf01.tar.bz2
tpax-5a3691c49cf159a7d9ccbd7eacdb4d6a7bf8cf01.tar.xz
project: config.project: default cflags: abstract the -std=c99 switch.
Diffstat (limited to 'config.project')
-rw-r--r--config.project4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.project b/config.project
index 5746ab9..bef65ae 100644
--- a/config.project
+++ b/config.project
@@ -42,7 +42,7 @@ mb_hosted=
mb_freestanding=
# switches
-mb_default_cflags_common="-std=c99 -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D__BSD_VISIBLE"
+mb_default_cflags_common="\$(_CFLAGS_std_c99) -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D__BSD_VISIBLE"
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"
@@ -69,5 +69,5 @@ mb_default_ldflags_last=
mb_default_ldflags_once=
# native
-mb_default_native_cflags="-std=c99 -D_XOPEN_SOURCE=700"
+mb_default_native_cflags="\$(_NATIVE_CFLAGS_std_c99) -D_XOPEN_SOURCE=700"
mb_default_native_ldflags=