diff options
author | midipix <writeonce@midipix.org> | 2021-06-05 02:50:38 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-06-05 02:50:38 +0000 |
commit | d24f85453472f1faf1676cae5ed7001cd430ec53 (patch) | |
tree | 8e63923b6fd8406a7005045efc13d3770192ab5e /config.project | |
parent | 7ce7333f5c0371107fa65fa1faad812f643431a4 (diff) | |
download | bfirm-d24f85453472f1faf1676cae5ed7001cd430ec53.tar.bz2 bfirm-d24f85453472f1faf1676cae5ed7001cd430ec53.tar.xz |
project: config.project: default cflags: abstract the -std=c99 switch.
Diffstat (limited to 'config.project')
-rw-r--r-- | config.project | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config.project b/config.project index 0dd3c72..b8d5553 100644 --- a/config.project +++ b/config.project @@ -42,7 +42,7 @@ mb_hosted= mb_freestanding= # switches -mb_default_cflags_common="-std=c99 -D_BSD_SOURCE -D_XOPEN_SOURCE=700" +mb_default_cflags_common="\$(_CFLAGS_std_c99) -D_BSD_SOURCE -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 -Ibuild/gen/ir" @@ -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= |