diff options
author | midipix <writeonce@midipix.org> | 2021-06-05 02:53:23 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-06-05 02:53:23 +0000 |
commit | e68aae28373505b9040027588cb36553a9f6ea82 (patch) | |
tree | 8f16489b0bf59cc279ed1d460fae729629adbe9f | |
parent | 753eb848f40f08586173e751cb22257a6f8caf2a (diff) | |
download | perk-e68aae28373505b9040027588cb36553a9f6ea82.tar.bz2 perk-e68aae28373505b9040027588cb36553a9f6ea82.tar.xz |
project: config.project: default cflags: abstract the -std=c99 switch.
-rw-r--r-- | config.project | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config.project b/config.project index 64b8fc0..b774ccb 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= |