]> granicus.if.org Git - graphviz/commitdiff
clang doesn't support -fstack-clash-protection
authorJohn Ellson <john.ellson@gmail.com>
Tue, 29 Oct 2019 09:09:25 +0000 (05:09 -0400)
committerJohn Ellson <john.ellson@gmail.com>
Tue, 29 Oct 2019 09:09:25 +0000 (05:09 -0400)
tclpkg/gv/Makefile.am

index e1d60fbfa536ea79bbe275036775a11d112f8091..752bda338d446b760c37399504fd31cfa542682b 100644 (file)
@@ -160,7 +160,8 @@ gv.a:       gv.cmxa
 pkgperldir = $(pkglibdir)/perl
 PERL        ?= perl
 # cleanup for opencsw's perl which adds flags that g++ doesn't like
-PERL_CC      = `$(PERL) -MExtUtils::Embed -e ccopts | $(PERL) -pe 's/-x.*? //g'`
+# 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_LD      = `$(PERL) -MExtUtils::Embed -e ldopts`
 VENDOR_ARCH  = `$(PERL) -MConfig -e 'print $$Config{installvendorarch};'`
 PERL_data = gv.pm