X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=dist%2Fconfig.mak;h=1b8d23dc89c34ded269ef8f8e529617b9d240ebf;hb=ef2c4fd91ffb0b333f7258e3d62266414d00702e;hp=51205522051b4534a8616b1c7370fe203284edeb;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl diff --git a/dist/config.mak b/dist/config.mak index 51205522..1b8d23dc 100644 --- a/dist/config.mak +++ b/dist/config.mak @@ -2,7 +2,7 @@ # musl config.mak template (original in dist/config.mak) # -# Target CPU architecture. Supported values: i386 +# Target CPU architecture. Supported values: i386, x86_64 ARCH = i386 # Installation prefix. DO NOT use /, /usr, or /usr/local ! @@ -11,15 +11,23 @@ prefix = /usr/local/musl # Installation prefix for musl-gcc compiler wrapper. exec_prefix = /usr/local +# Location for the dynamic linker ld-musl-$(ARCH).so.1 +syslibdir = /lib + # Uncomment if you want to build i386 musl on a 64-bit host #CFLAGS += -m32 +# Uncomment to fix broken distro-patched toolchains where hash-style=gnu(only) +#LDFLAGS += -Wl,--hash-style,both + +# Uncomment to fix broken distro-patched toolchains where stack-protector=on +#CFLAGS += -fno-stack-protector + # 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 +#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 -# Uncomment if you want to build a shared library (experimental). -#LIBC_LIBS += lib/libc.so +# Uncomment if you want to disable building the shared library. +#SHARED_LIBS =