1#
2# musl config.mak template (original in dist/config.mak)
3#
4
5# Target CPU architecture. Supported values: i386, x86_64
6ARCH = i386
7
8# Installation prefix. DO NOT use /, /usr, or /usr/local !
9prefix = /usr/local/musl
10
11# Installation prefix for musl-gcc compiler wrapper.
12exec_prefix = /usr/local
13
14# Location for the dynamic linker ld-musl-$(ARCH).so.1
15syslibdir = /lib
16
17# Uncomment if you want to build i386 musl on a 64-bit host
18#CFLAGS += -m32
19
20# Uncomment to fix broken distro-patched toolchains where hash-style=gnu(only)
21#LDFLAGS += -Wl,--hash-style,both
22
23# Uncomment to fix broken distro-patched toolchains where stack-protector=on
24#CFLAGS += -fno-stack-protector
25
26# Uncomment for smaller code size.
27#CFLAGS += -fomit-frame-pointer -mno-accumulate-outgoing-args
28
29# Uncomment to omit massive GCC4 DWARF2 bloat (only useful for debugging)
30#CFLAGS += -fno-asynchronous-unwind-tables
31
32# Uncomment for warnings (as errors). Might need tuning to your gcc version.
33#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
34
35# Uncomment if you want to disable building the shared library.
36#SHARED_LIBS = 
37