changeset 7076:be638dc60a3e

. Remove the hash-style checks. I don't believe this is relevant to any of the BSDs and clang doesn't support -dumpspecs. Submitted by: jkim@FreeBSD.org
author Greg Lewis <glewis@eyesbeyond.com>
date Sun, 20 Apr 2014 12:34:17 -0700
parents 98c8aed0346d
children a2a260c65596
files make/common/Defs-bsd.gmk
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/make/common/Defs-bsd.gmk	Sun Apr 20 11:17:37 2014 -0700
+++ b/make/common/Defs-bsd.gmk	Sun Apr 20 12:34:17 2014 -0700
@@ -217,14 +217,6 @@
   LDFLAGS_COMMON        += $(LDFLAGS_COMMON_$(ARCH))
 endif
 
-# If this is a --hash-style=gnu system, use --hash-style=both
-#   The gnu .hash section won't work on some Linux systems like SuSE 10.
-_HAS_HASH_STYLE_GNU:=$(shell $(CC) -dumpspecs | $(GREP) -- '--hash-style=gnu')
-ifneq ($(_HAS_HASH_STYLE_GNU),)
-  LDFLAGS_HASH_STYLE = -Wl,--hash-style=both
-endif
-LDFLAGS_COMMON          += $(LDFLAGS_HASH_STYLE)
-
 #
 # Selection of warning messages
 #