Skip to content

Commit

Permalink
build rpm with dynamic libasan
Browse files Browse the repository at this point in the history
Change-Id: Idd130e2b0d2d6750bcdcaeb10f0107291c603f9f
  • Loading branch information
rdementi committed Jul 6, 2024
1 parent 08f48c6 commit dd672b2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pcm.spec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ BuildRequires: libopenssl-devel
%else
BuildRequires: openssl-devel
BuildRequires: libasan
BuildRequires: libasan-static
%endif


Expand All @@ -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
Expand Down

0 comments on commit dd672b2

Please sign in to comment.