summaryrefslogtreecommitdiff
path: root/dist/config.mak
blob: 66aa44cd822c6d83fe301646b201670bee54fa29 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#
# musl config.mak template (original in dist/config.mak)
#

# Target CPU architecture. Supported values: i386, x86_64
ARCH = i386

# Installation prefix. DO NOT use /, /usr, or /usr/local !
prefix = /usr/local/musl

# Installation prefix for musl-gcc compiler wrapper.
exec_prefix = /usr/local

# Uncomment if you want to build i386 musl on a 64-bit host
#CFLAGS += -m32

# Uncomment for smaller code size.
#CFLAGS += -fomit-frame-pointer -mno-accumulate-outgoing-args

# Uncomment for warnings (as errors). Might need tuning to your gcc version.
#CFLAGS += -Werror -Wall -Wpointer-arith -Wcast-align -Wno-parentheses -Wno-char-subscripts -Wno-uninitialized -Wno-sequence-point -Wno-missing-braces -Wno-unused-value -Wno-overflow -Wno-int-to-pointer-cast

# Uncomment if you want to build a shared library (experimental).
#LIBC_LIBS += lib/libc.so