From f57a1fe65a1d8bd68fe55b6f05b588d7ce81dbc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Thu, 18 Jan 2018 14:57:08 +0000 Subject: [PATCH] - move add additional flags to CFLAGS to %configure --- OpenIPMI.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenIPMI.spec b/OpenIPMI.spec index c96bc2c..9cd16d0 100644 --- a/OpenIPMI.spec +++ b/OpenIPMI.spec @@ -88,7 +88,6 @@ rm -rf ./libedit %build export EDIT_CFLAGS=`pkg-config --cflags libedit` export EDIT_LIBS=`pkg-config --libs libedit` -export CFLAGS="-fPIC %{optflags} -z now -fno-strict-aliasing" # generate new configure script we need this since we removed the libedit directory %{__libtoolize} --copy --force --automake @@ -99,6 +98,7 @@ export CFLAGS="-fPIC %{optflags} -z now -fno-strict-aliasing" # libedit end %configure \ + CFLAGS="-fPIC %{optflags} -z now -fno-strict-aliasing" \ LDFLAGS="%{__global_ldflags} -Wl,--as-needed" \ --disable-dependency-tracking \ --disable-static \