Changeset View
Changeset View
Standalone View
Standalone View
lib/libc/Makefile
Context not available. | |||||
# XXX For now, we don't allow libc to be compiled with | # XXX For now, we don't allow libc to be compiled with | ||||
# -fstack-protector-all because it breaks rtld. We may want to make a librtld | # -fstack-protector-all because it breaks rtld. We may want to make a librtld | ||||
# in the future to circumvent this. | # in the future to circumvent this. | ||||
SSP_CFLAGS:= ${SSP_CFLAGS:S/^-fstack-protector-all$/-fstack-protector/} | SSP_CFLAGS:= ${SSP_CFLAGS:S/^-fstack-protector-all$/-fstack-protector-strong/} | ||||
# Disable stack protection for SSP symbols. | # Disable stack protection for SSP symbols. | ||||
SSP_CFLAGS:= ${.IMPSRC:N*/stack_protector.c:C/^.+$/${SSP_CFLAGS}/} | SSP_CFLAGS:= ${.IMPSRC:N*/stack_protector.c:C/^.+$/${SSP_CFLAGS}/} | ||||
# Generate stack unwinding tables for cancellation points | # Generate stack unwinding tables for cancellation points | ||||
Context not available. |