mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
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
13 lines
279 B
Makefile
13 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
|