summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/tqt3/tqt3.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/dependencies/tqt3/tqt3.spec')
-rw-r--r--redhat/dependencies/tqt3/tqt3.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/redhat/dependencies/tqt3/tqt3.spec b/redhat/dependencies/tqt3/tqt3.spec
index 2d5182c7d..433832ae6 100644
--- a/redhat/dependencies/tqt3/tqt3.spec
+++ b/redhat/dependencies/tqt3/tqt3.spec
@@ -51,6 +51,9 @@ Source1: build-examples.sh
Source2: trinity-tqt3-rpmlintrc
BuildRequires: glibc-devel
+%if "%{?c_compiler}" != "clang"
+BuildRequires: gcc-c++
+%endif
BuildRequires: make
BuildRequires: desktop-file-utils