]> granicus.if.org Git - graphviz/commitdiff
Revert "clang doesn't support -fstack-clash-protection"
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 9 Jan 2022 16:27:59 +0000 (08:27 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 11 Jan 2022 05:04:19 +0000 (21:04 -0800)
This reverts commit e50fd757a297e9917f801cd2781559535f03ce13. Clang added
`-ftack-clash-protection` in 2020.¹

Gitlab: #2177

¹ https://reviews.llvm.org/D68720

CHANGELOG.md
tclpkg/gv/Makefile.am

index 81ed0589ed30b9883f285d3b5e69d561508e2dff..6fea453ab77c73d22be44d2647a81780795e39c7 100644 (file)
@@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 - The Ming plugin that produced Shockwave files has been removed. This format
   was EOLed by Adobe in April 2019. #2160
 - CentOS 7 packages now include libmingle and the `mingle` program.
+- The tclpkg Makefile no longer suppresses `-fstack-clash-protection`
 
 ### Fixed
 
index bf74df6cf861ffd3471753ce6b7445f6677001cc..b8f0fb3a96f667c7c3ca3d204f4332fa7e8b0387 100644 (file)
@@ -175,8 +175,7 @@ gv.a:       gv.cmxa
 pkgperldir = $(pkglibdir)/perl
 PERL        ?= perl
 # cleanup for opencsw's perl which adds flags that g++ doesn't like
-# use sed (because I don't know perl) to cleanup flags that clang doen't like
-PERL_CC      = `$(PERL) -MExtUtils::Embed -e ccopts | $(SED) 's/-fstack-clash-protection //g' | $(PERL) -pe 's/-x.*? //g'`
+PERL_CC      = `$(PERL) -MExtUtils::Embed -e ccopts | $(PERL) -pe 's/-x.*? //g'`
 PERL_LD      = `$(PERL) -MExtUtils::Embed -e ldopts`
 VENDOR_ARCH  = `$(PERL) -MConfig -e 'print $$Config{installvendorarch};'`
 PERL_data = gv.pm