From 82b8f9a51c6ed0bdcb33e540f1ec59a00d97bfde Mon Sep 17 00:00:00 2001 From: Mark Reynolds Date: Feb 21 2017 21:57:50 +0000 Subject: Issue 49141 - Fix spec file for tcmalloc Description: Set the TCAMMLOC_FLAGS in the wrong location - which broke rpm builds https://pagure.io/389-ds-base/issue/49141 Reviewed by: mreynolds(one line commit rule) --- diff --git a/rpm/389-ds-base.spec.in b/rpm/389-ds-base.spec.in index ddd801c..ea7ff31 100644 --- a/rpm/389-ds-base.spec.in +++ b/rpm/389-ds-base.spec.in @@ -96,7 +96,6 @@ BuildRequires: libtool %if %{use_tcmalloc} BuildRequires: gperftools-devel Requires: gperftools-libs -TCMALLOC_FLAGS="--with-tcmalloc" %endif # this is needed for using semanage from our setup scripts @@ -314,6 +313,10 @@ NUNC_STANS_FLAGS="--enable-nunc-stans --with-nunc-stans=../nunc-stans-%{nunc_sta ASAN_FLAGS="--enable-asan --enable-debug" %endif +%if %{use_tcmalloc} +TCMALLOC_FLAGS="--with-tcmalloc" +%endif + # Rebuild the autotool artifacts now. autoreconf -fiv