diff options
author | midipix <writeonce@midipix.org> | 2021-06-05 02:50:26 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-06-05 02:50:26 +0000 |
commit | 3d4571f35d2d7799a847ac760daf2919848d0e7e (patch) | |
tree | 9752a0e3504e0fe5352f2006016b8ec1d3b72070 | |
parent | e15a8a6a55294e5c965dc3531a19d2aadc4800ba (diff) | |
download | bcparser-3d4571f35d2d7799a847ac760daf2919848d0e7e.tar.bz2 bcparser-3d4571f35d2d7799a847ac760daf2919848d0e7e.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 ac5f600..ab089d4 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)/src" mb_default_cflags_common="$mb_default_cflags_common -I\$(SOURCE_DIR)/include" @@ -70,5 +70,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= |