0850d05fc0
Cross-building ports via CROSS_TOOLCHAIN and CROSS_SYSROOT only set ARCH to the target arch. MACHINE still references the host. This unbreaks cross-building ports for mips. Reviewed by: jbeich, portmgr (bapt) Differential Revision: https://reviews.freebsd.org/D22592
12 lines
279 B
Makefile
12 lines
279 B
Makefile
# $FreeBSD$
|
|
# SSP Support
|
|
|
|
SSP_Include_MAINTAINER= portmgr@FreeBSD.org
|
|
|
|
.if !defined(SSP_UNSAFE) && \
|
|
(! ${ARCH:Mmips*})
|
|
# Overridable as a user may want to use -fstack-protector-all
|
|
SSP_CFLAGS?= -fstack-protector-strong
|
|
CFLAGS+= ${SSP_CFLAGS}
|
|
LDFLAGS+= ${SSP_CFLAGS}
|
|
.endif
|