mirror of git://git.musl-libc.org/musl
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.
This commit is contained in:
parent
08f70a30c0
commit
0c5efde8d0
|
@ -263,6 +263,8 @@ tryflag CFLAGS_AUTO -Wno-unused-but-set-variable
|
||||||
tryflag CFLAGS_AUTO -Wno-unknown-pragmas
|
tryflag CFLAGS_AUTO -Wno-unknown-pragmas
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Some patched GCC builds have these defaults messed up...
|
||||||
|
tryflag CFLAGS_AUTO -fno-stack-protector
|
||||||
tryldflag LDFLAGS_AUTO -Wl,--hash-style=sysv
|
tryldflag LDFLAGS_AUTO -Wl,--hash-style=sysv
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue