From cca597804d76417d86802becbd265d7dad168a5a Mon Sep 17 00:00:00 2001 From: Bernhard Miklautz Date: Wed, 24 Jan 2018 16:56:03 +0100 Subject: [PATCH] fix freerdp-nightly on suse: disable asan Compilation fails on 42.3 (gcc 4.8) when address sanitizer is on. --- packaging/rpm/freerdp-nightly.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packaging/rpm/freerdp-nightly.spec b/packaging/rpm/freerdp-nightly.spec index 599a72dca..e7d5738de 100644 --- a/packaging/rpm/freerdp-nightly.spec +++ b/packaging/rpm/freerdp-nightly.spec @@ -106,10 +106,11 @@ based on freerdp and winpr. -DWITH_SERVER=ON \ -DBUILD_TESTING=OFF \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ - -DWITH_SANITIZE_ADDRESS=ON \ -DCMAKE_INSTALL_PREFIX=%{INSTALL_PREFIX} \ %if %{defined suse_version} - -DCMAKE_NO_BUILTIN_CHRPATH=ON \ + -DCMAKE_NO_BUILTIN_CHRPATH=ON \ +%else + -DWITH_SANITIZE_ADDRESS=ON \ %endif -DCMAKE_INSTALL_LIBDIR=%{_lib}