summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2019-06-24 08:03:09 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2019-06-24 08:03:09 +0200
commite936bdf0ecaa00f2aad16e6333583de50e76440f (patch)
tree0fd0345066210040d4b5f01f397819c79ab802bc
parent960b269c222c600a750173382ad4002d1892ffd8 (diff)
fix ccache usage and add -Dnative@true
-rwxr-xr-xbuild-box.sh2
-rw-r--r--clang-flags.conf2
2 files changed, 2 insertions, 2 deletions
diff --git a/build-box.sh b/build-box.sh
index 634f5e1..334be86 100755
--- a/build-box.sh
+++ b/build-box.sh
@@ -25,7 +25,7 @@ source "${_BASE_}/build-fcts.sh"
25declare -a cfgs=(efl e terminology evisum clouseau profiler evisum ephoto rage extra eruler enventor edi eflete theme_viewer) 25declare -a cfgs=(efl e terminology evisum clouseau profiler evisum ephoto rage extra eruler enventor edi eflete theme_viewer)
26declare -A build_cfgs=( 26declare -A build_cfgs=(
27 ["efl",0]="core/efl" 27 ["efl",0]="core/efl"
28 ["efl",1]="-Doptimization=2 -Dharfbuzz=true -Dbuild-examples=false -Dbuild-tests=false -Ddrm=true -Dwl=true" 28 ["efl",1]="-Doptimization=2 -Dharfbuzz=true -Dbuild-examples=false -Dbuild-tests=false -Ddrm=true -Dwl=true -Dmono=false -Dnative=true"
29 ["efl",2]="USE_MESON" 29 ["efl",2]="USE_MESON"
30 ["e",0]="core/enlightenment" 30 ["e",0]="core/enlightenment"
31 ["e",1]="-Dwayland=true" 31 ["e",1]="-Dwayland=true"
diff --git a/clang-flags.conf b/clang-flags.conf
index f752f45..bccd2b3 100644
--- a/clang-flags.conf
+++ b/clang-flags.conf
@@ -1,7 +1,7 @@
1#! /bin/bash 1#! /bin/bash
2 2
3USE_BUILD_DIR=1 3USE_BUILD_DIR=1
4CC="ccache clang" 4CC="/usr/lib/ccache/bin/clang"
5CFLAGS="-O2 -march=native -ffast-math -W -Wall -Wextra -Wshadow" 5CFLAGS="-O2 -march=native -ffast-math -W -Wall -Wextra -Wshadow"
6#CFLAGS="-g3 -ggdb3 -O2 -march=native -ffast-math -W -Wall -Wextra -Wshadow" 6#CFLAGS="-g3 -ggdb3 -O2 -march=native -ffast-math -W -Wall -Wextra -Wshadow"
7#CFLAGS="-g3 -ggdb3 -O0" 7#CFLAGS="-g3 -ggdb3 -O0"