summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/doxygen.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/doxygen.spec b/packaging/doxygen.spec
index baf86d1..a59cbd9 100644
--- a/packaging/doxygen.spec
+++ b/packaging/doxygen.spec
@@ -24,6 +24,10 @@ as well. An executable for Windows 95/NT is also available.
cp %{SOURCE1001} .
%build
+%{?ubsan:
+/usr/bin/gcc-unforce-options
+/usr/bin/gcc-force-options -fsanitize=undefined -fno-sanitize=vptr
+}
unset QTDIR
./configure \
--prefix %{_prefix} \