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 \