diff --git a/nodejs.spec b/nodejs.spec index c053f9a..344a9b5 100644 --- a/nodejs.spec +++ b/nodejs.spec @@ -272,7 +272,7 @@ export CXXFLAGS='%{optflags} -g \ export CFLAGS="$(echo ${CFLAGS} | tr '\n\\' ' ')" export CXXFLAGS="$(echo ${CXXFLAGS} | tr '\n\\' ' ')" -export LDFLAGS="%{build_ldflags}" +export LDFLAGS="%{__global_ldflags}" %if %{with bootstrap} ./configure --prefix=%{_prefix} \