From: Rich Felker Date: Thu, 7 Jun 2012 02:00:08 +0000 (-0400) Subject: make configure try to disable stack protector X-Git-Tag: v0.9.2~54 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0c5efde8d06670e8709e3bff548921b05a7da692;p=oweals%2Fmusl.git make configure try to disable stack protector in theory we could support stack protector in the libc itself, and users wanting to experiment with such usage could add -fstack-protector to CFLAGS intentionally. but to avoid breakage in the default case, override broken distro-patched gcc that forces stack protector on. --- diff --git a/configure b/configure index 25b2d805..02aef43a 100755 --- a/configure +++ b/configure @@ -263,6 +263,8 @@ tryflag CFLAGS_AUTO -Wno-unused-but-set-variable tryflag CFLAGS_AUTO -Wno-unknown-pragmas fi +# Some patched GCC builds have these defaults messed up... +tryflag CFLAGS_AUTO -fno-stack-protector tryldflag LDFLAGS_AUTO -Wl,--hash-style=sysv