about summary refs log tree commit diff
path: root/dist/config.mak
blob: 452a93a5098ed0154c5c75fdbeaa246c8f49ca6c (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
25
#
# 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
#CFLAGS += -Wno-pointer-sign

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