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.spec5
1 files changed, 4 insertions, 1 deletions
diff --git a/redhat/dependencies/tqt3/tqt3.spec b/redhat/dependencies/tqt3/tqt3.spec
index 1944faf47..2d5182c7d 100644
--- a/redhat/dependencies/tqt3/tqt3.spec
+++ b/redhat/dependencies/tqt3/tqt3.spec
@@ -51,7 +51,6 @@ Source1: build-examples.sh
Source2: trinity-tqt3-rpmlintrc
BuildRequires: glibc-devel
-BuildRequires: gcc-c++
BuildRequires: make
BuildRequires: desktop-file-utils
@@ -1313,11 +1312,15 @@ echo yes | ./configure \
-shared \
-fast \
-no-exceptions \
+%if "%{?c_compiler}" == "clang"
+ -platform linux-clang \
+%else
%if "%{_lib}" == "lib64"
-platform linux-g++-64 \
%else
-platform linux-g++ \
%endif
+%endif
\
%{?with_nis:-nis} %{?!with_nis:-no-nis} \
-no-pch \