summaryrefslogtreecommitdiff
path: root/packaging/doxygen.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/doxygen.spec')
-rw-r--r--packaging/doxygen.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/packaging/doxygen.spec b/packaging/doxygen.spec
index a59cbd9..0f3e595 100644
--- a/packaging/doxygen.spec
+++ b/packaging/doxygen.spec
@@ -24,6 +24,8 @@ as well. An executable for Windows 95/NT is also available.
cp %{SOURCE1001} .
%build
+sed -i "s#gcc#${CC:-gcc}#" tmake/lib/linux-g++/tmake.conf
+sed -i "s#g++#${CXX:-g++}#" tmake/lib/linux-g++/tmake.conf
%{?ubsan:
/usr/bin/gcc-unforce-options
/usr/bin/gcc-force-options -fsanitize=undefined -fno-sanitize=vptr