mirror of git://git.musl-libc.org/musl
26 lines
832 B
Makefile
26 lines
832 B
Makefile
#
|
|
# musl config.mak template (original in dist/config.mak)
|
|
#
|
|
|
|
# Target CPU architecture. Supported values: i386
|
|
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
|