summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-06-05 02:49:49 +0000
committermidipix <writeonce@midipix.org>2021-06-05 02:49:49 +0000
commit818703b86edeac32b30a02f41594a19c80d61dde (patch)
tree26ce5cdfc1cc5b1d8154a12ce4d8935563a4973e
parentfef4629b631e8e90335f6c6cd9a122796135f8e7 (diff)
downloadapimagic-818703b86edeac32b30a02f41594a19c80d61dde.tar.bz2
apimagic-818703b86edeac32b30a02f41594a19c80d61dde.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 08b9d76..adf5b0a 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=