summaryrefslogtreecommitdiff
path: root/config.project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-06-04 19:49:50 +0000
committermidipix <writeonce@midipix.org>2021-06-04 19:49:50 +0000
commit8c29a508519c73a7533e9f07ae63484ea204c280 (patch)
treec0bce77b8b77f75fbe2b30d36ccd9fe95d170f37 /config.project
parenta21c61059bc5adda08d6c16d2d27a0d522ac4b95 (diff)
downloadslibtool-8c29a508519c73a7533e9f07ae63484ea204c280.tar.bz2
slibtool-8c29a508519c73a7533e9f07ae63484ea204c280.tar.xz
project: config.project: default cflags: abstract the -std=c99 switch.
Diffstat (limited to 'config.project')
-rw-r--r--config.project2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.project b/config.project
index 2b1397f..2c5dc60 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 -D_DEFAULT_SOURCE -D_BSD_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"