From dcde1da9e54a7f9e11f4786299c9af0b070ffae100ed9f81342bb681285b5ae3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Tue, 29 Aug 2017 11:47:14 +0000 Subject: [PATCH] Accepting request 519103 from home:msmeissn:branches:graphics - clang currently does not support -fstack-clash-protector. OBS-URL: https://build.opensuse.org/request/show/519103 OBS-URL: https://build.opensuse.org/package/show/graphics/potrace?expand=0&rev=21 --- potrace.changes | 5 +++++ potrace.spec | 2 ++ 2 files changed, 7 insertions(+) diff --git a/potrace.changes b/potrace.changes index 96c6f6e..851ae93 100644 --- a/potrace.changes +++ b/potrace.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 28 10:06:44 UTC 2017 - meissner@suse.com + +- clang currently does not support -fstack-clash-protector. + ------------------------------------------------------------------- Mon Aug 7 17:28:41 CEST 2017 - sbrabec@suse.com diff --git a/potrace.spec b/potrace.spec index d53e681..6a3f557 100644 --- a/potrace.spec +++ b/potrace.spec @@ -79,6 +79,8 @@ export LDFLAGS="-pie" # (undefined reference to `__stack_chk_guard') export CFLAGS="${CFLAGS/-fstack-protector /}" %endif +# clang does not support that yet... +export CFLAGS="${CFLAGS/-fstack-clash-protection /}" %configure\ --docdir=%{_docdir}/%{name}\ --with-libpotrace\