From d34d7002e1a53f64b96cec6c507f58cb64771982 Mon Sep 17 00:00:00 2001 From: jsg Date: Fri, 13 Jul 2018 02:57:07 +0000 Subject: [PATCH] Enable the stack protector again on arm. It was disabled when armv7 used gcc 4.2, this builds fine after the switch to clang. --- textproc/icu4c/Makefile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/textproc/icu4c/Makefile b/textproc/icu4c/Makefile index 72c71ae2f7a..0836eaf051f 100644 --- a/textproc/icu4c/Makefile +++ b/textproc/icu4c/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.65 2017/08/24 09:44:34 sthen Exp $ +# $OpenBSD: Makefile,v 1.66 2018/07/13 02:57:07 jsg Exp $ NOT_FOR_ARCHS= ${GCC3_ARCHS} @@ -9,7 +9,7 @@ VERSION= 58.2 DISTNAME= icu4c-${VERSION:S/./_/g}-src PKGNAME-main= icu4c-${VERSION} PKGNAME-wwwdata= icu4c-wwwdata-${VERSION} -REVISION-main= 5 +REVISION-main= 6 MAJ_V= ${VERSION:R} SO_VERSION= 13.0 @@ -57,12 +57,6 @@ MAKE_FLAGS= VERBOSE=1 \ SO_TARGET_VERSION_MAJOR=${SO_VERSION:R} \ PKGDATA_INVOKE_OPTS="SO_TARGET_VERSION=${SO_VERSION} SO_TARGET_VERSION_MAJOR=${SO_VERSION:R}" -# icupkg segfaults during the build -.if ${MACHINE_ARCH} == "arm" -CFLAGS += -O1 -fno-stack-protector -CXXFLAGS += -O1 -fno-stack-protector -.endif - .include .if ${PROPERTIES:Mbe}