aboutsummaryrefslogtreecommitdiffstats
path: root/math/mingw32-libgmp
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2019-04-25 03:15:05 +0800
committerjbeich <jbeich@FreeBSD.org>2019-04-25 03:15:05 +0800
commite657299ccde222d07ed1c19fd464ac81583320d6 (patch)
treeb590ae091a9af999c14febe1822125712dc4d64d /math/mingw32-libgmp
parentdb0eb7aa56497e7ff2eb2442658c576494b285b5 (diff)
downloadfreebsd-ports-gnome-e657299ccde222d07ed1c19fd464ac81583320d6.tar.gz
freebsd-ports-gnome-e657299ccde222d07ed1c19fd464ac81583320d6.tar.zst
freebsd-ports-gnome-e657299ccde222d07ed1c19fd464ac81583320d6.zip
Switch to -fstack-protector-strong and enable on more architectures
PR: 237273 Exp-run by: antoine Approved by: portmgr (antoine) Differential Revision: https://reviews.freebsd.org/D19907
Diffstat (limited to 'math/mingw32-libgmp')
-rw-r--r--math/mingw32-libgmp/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/math/mingw32-libgmp/Makefile b/math/mingw32-libgmp/Makefile
index f781bd548e6b..4e2b08e48c53 100644
--- a/math/mingw32-libgmp/Makefile
+++ b/math/mingw32-libgmp/Makefile
@@ -23,6 +23,7 @@ GNU_CONFIGURE= yes
CC= ${PKGNAMEPREFIX}gcc
CXX= ${PKGNAMEPREFIX}c++
CFLAGS+= -I/usr/include
+SSP_CFLAGS?= -fstack-protector # XXX -strong isn't supported by GCC < 4.9
CONFIGURE_ENV= MAKEINFO="${MAKEINFO} --no-split" \
PREFIX="${PREFIX}/${GMP_TARG}" \
M4="/usr/bin/m4"