• R
    prevent user CFLAGS overrides from exposing executable stack · bc0c4841
    Rich Felker 提交于
    the option to suppress executable stack tagging was placed in CFLAGS,
    which is treated as optional and overridable by the build system. if a
    user replaces CFLAGS after configure has run, it could get lost,
    resulting in a libc.so that's flagged as needing executable stack,
    which would cause the kernel to map the initial stack as executable.
    
    move -Wa,--noexecstack to CFLAGS_C99FSE, the make variable used for
    mandatory compiler options.
    bc0c4841
configure 18.9 KB