diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-04-11 20:25:42 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-04-11 20:25:42 -0400 |
commit | 5595de69608cbb250a8019d1ec5db22bcd32795b (patch) | |
tree | c2ac2ef5672903a0a6931c1cec68537bb041829f | |
parent | cc00f05632e5d7cbfb8ce49f4b0dfd59c3cf611d (diff) | |
download | musl-5595de69608cbb250a8019d1ec5db22bcd32795b.tar.gz |
add some more useful suggested options to config.mak template
-rw-r--r-- | dist/config.mak | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dist/config.mak b/dist/config.mak index 5429582c..1b8d23dc 100644 --- a/dist/config.mak +++ b/dist/config.mak @@ -17,6 +17,12 @@ 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 |