瀏覽代碼

add some more useful suggested options to config.mak template

Rich Felker 13 年之前
父節點
當前提交
5595de6960
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      dist/config.mak

+ 6 - 0
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