summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-01-02 05:50:53 -0500
committermidipix <writeonce@midipix.org>2019-01-09 22:43:12 -0500
commit569dbdac5eb773c6ec9e74db9b18b108540e8616 (patch)
treeb309ca0f17813adfdb41dc39046f1651b4a9e459
parent3ae283b13f9f9802f45f384f6baa158638c5fc82 (diff)
downloadmmglue-569dbdac5eb773c6ec9e74db9b18b108540e8616.tar.bz2
mmglue-569dbdac5eb773c6ec9e74db9b18b108540e8616.tar.xz
build-system transition: config.project: defined common CFLAGS.
-rw-r--r--config.project10
1 files changed, 9 insertions, 1 deletions
diff --git a/config.project b/config.project
index 2d19645..a289951 100644
--- a/config.project
+++ b/config.project
@@ -30,8 +30,16 @@ mb_ccenv_create_log=
mb_ccenv_skip_native=
# switches
-mb_default_cflags_common="-std=c99 -D_XOPEN_SOURCE=700"
+mb_default_cflags_common="-std=c99 -pipe -D_XOPEN_SOURCE=700"
+mb_default_cflags_common="$mb_default_cflags_common -ffreestanding -nostdinc"
+mb_default_cflags_common="$mb_default_cflags_common -fomit-frame-pointer"
+mb_default_cflags_common="$mb_default_cflags_common -I\$(SOURCE_DIR)/arch/\$(ARCH)"
+mb_default_cflags_common="$mb_default_cflags_common -I\$(PROJECT_DIR)/arch/\$(ARCH)"
+mb_default_cflags_common="$mb_default_cflags_common -I\$(SOURCE_DIR)/arch/\$(ARCH)/generic"
+mb_default_cflags_common="$mb_default_cflags_common -Iobj/src/internal"
+mb_default_cflags_common="$mb_default_cflags_common -I\$(SOURCE_DIR)/src/include"
mb_default_cflags_common="$mb_default_cflags_common -I\$(SOURCE_DIR)/src/internal"
+mb_default_cflags_common="$mb_default_cflags_common -Iobj/include"
mb_default_cflags_common="$mb_default_cflags_common -I\$(SOURCE_DIR)/include"
mb_default_cflags_common="$mb_default_cflags_common -Ibuild"