From 216a049b093aa14a0f6c468d6dac0128c231562c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <ville.skytta(a)iki.fi>
Date: Sun, 28 Aug 2016 10:28:11 +0300
Subject: Test with clang too
---
ccache.spec | 3 +++
1 file changed, 3 insertions(+)
diff --git a/ccache.spec b/ccache.spec
index a5d114f..5c16c18 100644
--- a/ccache.spec
+++ b/ccache.spec
@@ -24,6 +24,8 @@ Source2: %{name}.csh.in
BuildRequires: perl(File::Spec)
BuildRequires: zlib-devel >= 1.2.3
+# clang for additional tests
+BuildRequires: clang
# coreutils for triggerin, triggerpostun
Requires: coreutils
# For groupadd
@@ -90,6 +92,7 @@ find $RPM_BUILD_ROOT%{_libdir}/ccache -type l | \
%check
make check
+make check CC=clang
%define ccache_trigger(p:) \
--
cgit v1.1
https://src.fedoraproject.org/cgit/ccache.git/commit/?h=epel7&id=216a...