cleanup shared library build system to be more $HOME-local-install friendly
[musl] / dist / config.mak
1 #
2 # musl config.mak template (original in dist/config.mak)
3 #
4
5 # Target CPU architecture. Supported values: i386, x86_64
6 ARCH = i386
7
8 # Installation prefix. DO NOT use /, /usr, or /usr/local !
9 prefix = /usr/local/musl
10
11 # Installation prefix for musl-gcc compiler wrapper.
12 exec_prefix = /usr/local
13
14 # Location for the dynamic linker ld-musl-$(ARCH).so.1
15 syslibdir = /lib
16
17 # Uncomment if you want to build i386 musl on a 64-bit host
18 #CFLAGS += -m32
19
20 # Uncomment for smaller code size.
21 #CFLAGS += -fomit-frame-pointer -mno-accumulate-outgoing-args
22
23 # Uncomment for warnings (as errors). Might need tuning to your gcc version.
24 #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
25
26 # Uncomment if you want to disable building the shared library.
27 #SHARED_LIBS =