fix deb/freerdp-nightly: disable ASAN on i386
The nightly packages fail on some distributions on i386 if address sanitizer is active (mostly due to oder libasan versions). Disable it for now for i386.
This commit is contained in:
parent
db2d1ffcce
commit
1e842d2681
@ -5,6 +5,7 @@ Maintainer: FreeRDP <team@freerdp.com>
|
|||||||
Build-Depends:
|
Build-Depends:
|
||||||
debhelper (>= 9),
|
debhelper (>= 9),
|
||||||
cdbs,
|
cdbs,
|
||||||
|
dpkg-dev,
|
||||||
autotools-dev,
|
autotools-dev,
|
||||||
cmake,
|
cmake,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
|
@ -2,6 +2,15 @@
|
|||||||
|
|
||||||
NULL =
|
NULL =
|
||||||
|
|
||||||
|
DEB_HOST_ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH)
|
||||||
|
|
||||||
|
ifeq ($(DEB_HOST_ARCH), i386)
|
||||||
|
SANATIZE_ADDRESS = -DWITH_SANITIZE_ADDRESS=OFF
|
||||||
|
else
|
||||||
|
SANATIZE_ADDRESS = -DWITH_SANITIZE_ADDRESS=ON
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
DEB_CMAKE_EXTRA_FLAGS := -DCMAKE_SKIP_RPATH=FALSE \
|
DEB_CMAKE_EXTRA_FLAGS := -DCMAKE_SKIP_RPATH=FALSE \
|
||||||
-DCMAKE_SKIP_INSTALL_RPATH=FALSE \
|
-DCMAKE_SKIP_INSTALL_RPATH=FALSE \
|
||||||
-DWITH_PULSE=ON \
|
-DWITH_PULSE=ON \
|
||||||
@ -20,7 +29,7 @@ DEB_CMAKE_EXTRA_FLAGS := -DCMAKE_SKIP_RPATH=FALSE \
|
|||||||
-DCMAKE_INSTALL_PREFIX=/opt/freerdp-nightly/ \
|
-DCMAKE_INSTALL_PREFIX=/opt/freerdp-nightly/ \
|
||||||
-DCMAKE_INSTALL_INCLUDEDIR=include \
|
-DCMAKE_INSTALL_INCLUDEDIR=include \
|
||||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||||
-DWITH_SANITIZE_ADDRESS=ON \
|
$(SANATIZE_ADDRESS) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
%:
|
%:
|
||||||
|
Loading…
Reference in New Issue
Block a user