From c2fab26635f077fb05fa122be1a4e96676fd1d4a Mon Sep 17 00:00:00 2001 From: Thomas Woerner Date: Thu, 30 Nov 2006 14:32:08 +0000 Subject: [PATCH] [tw] - forgot -DLDAP_DEPRECATED flag --- freeradius.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freeradius.spec b/freeradius.spec index cc499fc..3687ffd 100644 --- a/freeradius.spec +++ b/freeradius.spec @@ -83,9 +83,9 @@ This plugin provides the unixODBC bindings for the FreeRADIUS server project. %build %ifarch s390 s390x -export CFLAGS="$RPM_OPT_FLAGS -fPIC" +export CFLAGS="$RPM_OPT_FLAGS -fPIC -DLDAP_DEPRECATED" %else -export CFLAGS="$RPM_OPT_FLAGS -fpic" +export CFLAGS="$RPM_OPT_FLAGS -fpic -DLDAP_DEPRECATED" %endif # bad fix for libtool: clear buildroot early, set LDFLAGS to buildroot libdir