forked from BobBuildTool/basement
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.yaml
51 lines (44 loc) · 1.6 KB
/
default.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
environment:
GNU_MIRROR: "http://ftp.gnu.org/pub/gnu"
# default compile flags
BASEMENT_OPTIMIZE: "s" # compiler optimization level (0/1/2/s)
BASEMENT_DEBUG: "1" # generate debug symbols (0/1)
##########################################################################
# The following variables describe the currently active toolchain and
# should not be overridden by the user.
##########################################################################
# The default build (i.e. the system that the build runs on) and host
# system (i.e. the system where the produced executables run on)
# definition.
ARCH: "$(host-arch)"
AUTOCONF_BUILD: "$(host-autoconf)"
AUTOCONF_HOST: "$(host-autoconf)"
# Default tool names.
AR: "ar"
AS: "as"
CC: "gcc"
CPP: "cpp"
CXX: "g++"
GDB: "gdb"
LD: "ld"
NM: "nm"
OBJCOPY: "objcopy"
OBJDUMP: "objdump"
RANLIB: "ranlib"
STRIP: "strip"
# Default host compilation flags. Only cross-compiling target toolchains
# will override these based on the BASEMENT_OPTIMIZE and BASEMENT_OPTIMIZE
# settings above.
#
# We build everything static on host builds without debug symbols. Some
# packages still build shared libraries, though. Make sure we compile
# position independent code in case static and dynamic libraries are mixed.
CFLAGS: "-Os -pipe -fPIC"
CXXFLAGS: "-Os -pipe -fPIC"
LDFLAGS: "-Wl,-O1 -Wl,--hash-style=gnu"
archive:
backend: http
url: http://ci.bobbuildtool.dev/artifacts/
flags: [download]
include:
- user