diff options
author | midipix <writeonce@midipix.org> | 2021-06-05 02:53:52 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-06-05 02:53:52 +0000 |
commit | b5963be1e4fd7bacafa2b35ce79d22b9b0e9c589 (patch) | |
tree | 08cdc174ff1abce785c98c21343599f3b794a701 /config.project | |
parent | a0f3a5c6cfb10d7cacd5b54eea409ace1d18e210 (diff) | |
download | sbmake-b5963be1e4fd7bacafa2b35ce79d22b9b0e9c589.tar.bz2 sbmake-b5963be1e4fd7bacafa2b35ce79d22b9b0e9c589.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 5328c11..51cf470 100644 --- a/config.project +++ b/config.project @@ -43,7 +43,7 @@ mb_hosted= mb_freestanding= # switches -mb_default_cflags_common="-std=c99 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE" +mb_default_cflags_common="\$(_CFLAGS_std_c99) -D_XOPEN_SOURCE=700 -D_GNU_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" mb_default_cflags_common="$mb_default_cflags_common -Ibuild" @@ -70,5 +70,5 @@ mb_default_ldflags_last= mb_default_ldflags_once= # native -mb_default_native_cflags="-std=c99 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE" +mb_default_native_cflags="\$(_NATIVE_CFLAGS_std_c99) -D_XOPEN_SOURCE=700 -D_GNU_SOURCE" mb_default_native_ldflags= |