simplify newlocale and allow failure for explicit locale names
[musl.git] / dist / config.mak
blob1fc43695d3c6dd7a1a8acdf39881eaf2b7319d0f
2 # musl config.mak template (original in dist/config.mak)
5 # Target CPU architecture. Supported values: i386, x86_64
6 ARCH = i386
8 # Installation prefix. DO NOT use /, /usr, or /usr/local !
9 prefix = /usr/local/musl
11 # Installation prefix for musl-gcc compiler wrapper.
12 exec_prefix = /usr/local
14 # Location for the dynamic linker ld-musl-$(ARCH).so.1
15 syslibdir = /lib
17 # Uncomment if you want to build i386 musl on a 64-bit host
18 #CFLAGS += -m32
20 # Uncomment to fix broken distro-patched toolchains where hash-style=gnu(only)
21 #LDFLAGS += -Wl,--hash-style,both
23 # Uncomment to fix broken distro-patched toolchains where stack-protector=on
24 #CFLAGS += -fno-stack-protector
26 # Uncomment for smaller code size.
27 #CFLAGS += -fomit-frame-pointer -mno-accumulate-outgoing-args
29 # Uncomment to omit massive GCC4 DWARF2 bloat (only useful for debugging)
30 #CFLAGS += -fno-asynchronous-unwind-tables
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
35 # Uncomment if you want to disable building the shared library.
36 #SHARED_LIBS =