diff --git a/SPECS/opencsd.spec b/SPECS/opencsd.spec index 028c91d..2c0b6a5 100644 --- a/SPECS/opencsd.spec +++ b/SPECS/opencsd.spec @@ -2,7 +2,7 @@ Name: opencsd Version: 1.0.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: An open source CoreSight(tm) Trace Decode library License: BSD @@ -33,6 +33,7 @@ to develop CoreSight(tm) trace decoders. cd decoder/build/linux export CFLAGS="$RPM_OPT_FLAGS" export CXXFLAGS="$RPM_OPT_FLAGS" +export LDFLAGS=-pie LIB_PATH=%{_lib} make %{?_smp_mflags} @@ -58,6 +59,9 @@ PREFIX=%{buildroot}%{_prefix} LIB_PATH=%{_lib} make install DISABLE_STATIC=1 DEF #------------------------------------------------------------------------------ %changelog +* Tue Jul 27 2021 Michael Petlan - 1.0.0-4 +- Rebuild with -pie, fixes bz1986330 + * Tue May 18 2021 Michael Petlan - 1.0.0-3 - Rebuild after adding gating, fixes bz1945505 and bz1961191