From dd672b2bc76ae630fd7e9317af829cb1622c57a5 Mon Sep 17 00:00:00 2001 From: "Dementiev, Roman" Date: Sat, 6 Jul 2024 22:23:38 +0200 Subject: [PATCH] build rpm with dynamic libasan Change-Id: Idd130e2b0d2d6750bcdcaeb10f0107291c603f9f --- pcm.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pcm.spec b/pcm.spec index 41e12e46..803d4e9b 100644 --- a/pcm.spec +++ b/pcm.spec @@ -19,7 +19,6 @@ BuildRequires: libopenssl-devel %else BuildRequires: openssl-devel BuildRequires: libasan -BuildRequires: libasan-static %endif @@ -33,7 +32,7 @@ Intel(r) Performance Counter Monitor (Intel(r) PCM) is an application programmin %build mkdir build cd build -cmake -DCMAKE_INSTALL_PREFIX=/usr/ -DCMAKE_BUILD_TYPE=RelWithDebInfo .. +cmake -DNO_STATIC_LIBASAN=1 -DCMAKE_INSTALL_PREFIX=/usr/ -DCMAKE_BUILD_TYPE=RelWithDebInfo .. make -j %install