From ff474939d5d86918508c7780432a230d22ba1167 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Fri, 22 Dec 2017 11:42:31 +0100 Subject: [PATCH] Activated address sanitizer for nightly builds. --- packaging/deb/freerdp-nightly/rules | 3 ++- packaging/rpm/freerdp-nightly.spec | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packaging/deb/freerdp-nightly/rules b/packaging/deb/freerdp-nightly/rules index 5cf2d9e..72caf27 100755 --- a/packaging/deb/freerdp-nightly/rules +++ b/packaging/deb/freerdp-nightly/rules @@ -16,10 +16,11 @@ DEB_CMAKE_EXTRA_FLAGS := -DCMAKE_SKIP_RPATH=FALSE \ -DCHANNEL_URBDRC_CLIENT=ON \ -DWITH_SERVER=ON \ -DBUILD_TESTING=OFF \ - -DCMAKE_BUILD_TYPE=RELWITHDEBINFO \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/opt/freerdp-nightly/ \ -DCMAKE_INSTALL_INCLUDEDIR=include \ -DCMAKE_INSTALL_LIBDIR=lib \ + -DWITH_SANITIZE_ADDRESS=ON \ $(NULL) %: diff --git a/packaging/rpm/freerdp-nightly.spec b/packaging/rpm/freerdp-nightly.spec index a53206a..599a72d 100644 --- a/packaging/rpm/freerdp-nightly.spec +++ b/packaging/rpm/freerdp-nightly.spec @@ -105,7 +105,8 @@ based on freerdp and winpr. -DCHANNEL_URBDRC_CLIENT=ON \ -DWITH_SERVER=ON \ -DBUILD_TESTING=OFF \ - -DCMAKE_BUILD_TYPE=RELWITHDEBINFO \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DWITH_SANITIZE_ADDRESS=ON \ -DCMAKE_INSTALL_PREFIX=%{INSTALL_PREFIX} \ %if %{defined suse_version} -DCMAKE_NO_BUILTIN_CHRPATH=ON \ -- 2.7.4