X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=dist%2Fconfig.mak;h=1fc43695d3c6dd7a1a8acdf39881eaf2b7319d0f;hp=691e3ce1bb8ce100466524c05c23f332f7ff50c2;hb=14cc9c7f38c80094c05353fcb11fe9e441340583;hpb=92b52b70e8c0786c95cb73a691e1f6e89a73be46 diff --git a/dist/config.mak b/dist/config.mak index 691e3ce1..1fc43695 100644 --- a/dist/config.mak +++ b/dist/config.mak @@ -11,14 +11,26 @@ 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 to omit massive GCC4 DWARF2 bloat (only useful for debugging) +#CFLAGS += -fno-asynchronous-unwind-tables + # 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 += -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 =