From bba84c93daefce8a7be55d535516c1c47882ea92 Mon Sep 17 00:00:00 2001 From: joerg Date: Mon, 19 Feb 2007 22:10:42 +0000 Subject: Retire propolice hack on DragonFly as the system compiler was fixed and the changes pulled up to all release branches. --- net/socket++/hacks.mk | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 net/socket++/hacks.mk (limited to 'net/socket++') diff --git a/net/socket++/hacks.mk b/net/socket++/hacks.mk deleted file mode 100644 index 7e71cfe6454..00000000000 --- a/net/socket++/hacks.mk +++ /dev/null @@ -1,18 +0,0 @@ -# $NetBSD: hacks.mk,v 1.1 2006/05/12 07:44:26 joerg Exp $ - -.include "../../mk/bsd.prefs.mk" - -.if ${OPSYS} == "DragonFly" && ${PKGSRC_COMPILER} == "gcc" -# -# Workaround an ICE in the stack-smashing protection in GCC 3.4.x. -# -.if !defined(HAS_PROPOLICE) -HAS_PROPOLICE!= ( ${CC} -v 2>&1 | ${GREP} 'propolice' ) 2>/dev/null || echo no -MAKEVARS+= HAS_PROPOLICE -.endif - -.if ${HAS_PROPOLICE} != "no" -CFLAGS+= -fno-stack-protector -CXXFLAGS+= -fno-stack-protector -.endif -.endif -- cgit v1.2.3