summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-06-05 02:55:38 +0000
committermidipix <writeonce@midipix.org>2021-06-05 02:55:38 +0000
commit2d26e1be2ba5a70c9db0247d01216c53aba02612 (patch)
tree5b810b76f31cee4a5c04d3bb2008c17b88167a95
parentc44552abd98833c00e74ba529dd19ee6e4767b17 (diff)
downloadu16ports-2d26e1be2ba5a70c9db0247d01216c53aba02612.tar.bz2
u16ports-2d26e1be2ba5a70c9db0247d01216c53aba02612.tar.xz
project: config.project: default cflags: abstract the -std=c99 switch.
-rw-r--r--config.project4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.project b/config.project
index 52d612c..d506689 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"
+mb_default_cflags_common="\$(_CFLAGS_std_c99) -D_XOPEN_SOURCE=700"
mb_default_cflags_common="$mb_default_cflags_common -I\$(SOURCE_DIR)/include"
mb_default_cflags_common="$mb_default_cflags_common -Ibuild"
@@ -68,5 +68,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=