summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-06-05 02:54:45 +0000
committermidipix <writeonce@midipix.org>2021-06-05 02:54:45 +0000
commitb45d1fcea744aa7845e45379356070090a653fd0 (patch)
tree018366b4a8718d4792eab8a15d34231ead4512e1
parent97e162d41d64b5c7d332954d04ab6b523e861d84 (diff)
downloadsltdl-b45d1fcea744aa7845e45379356070090a653fd0.tar.bz2
sltdl-b45d1fcea744aa7845e45379356070090a653fd0.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 086982a..85f2a25 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)/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=