From: Denis Khalikov Date: Thu, 22 Jun 2017 14:41:15 +0000 (+0300) Subject: Fix for UBSan build X-Git-Tag: accepted/tizen/5.0/base/20181101.090624^0 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Fdoxygen.git;a=commitdiff_plain;h=HEAD Fix for UBSan build Exclude vptr check because of -fno-rtti Change-Id: I890977865e18d7f8e4d07dd51fad2861ebb0cfb0 Signed-off-by: Denis Khalikov --- 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} \