add some more useful suggested options to config.mak template
authorRich Felker <dalias@aerifal.cx>
Thu, 12 Apr 2012 00:25:42 +0000 (20:25 -0400)
committerRich Felker <dalias@aerifal.cx>
Thu, 12 Apr 2012 00:25:42 +0000 (20:25 -0400)
dist/config.mak

index 5429582..1b8d23d 100644 (file)
@@ -17,6 +17,12 @@ syslibdir = /lib
 # Uncomment if you want to build i386 musl on a 64-bit host
 #CFLAGS += -m32
 
 # 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 smaller code size.
 #CFLAGS += -fomit-frame-pointer -mno-accumulate-outgoing-args