fix cflags to not use this as rhel 5 doesn't support it
This commit is contained in:
parent
72f042a527
commit
eba30499fd
@ -358,7 +358,7 @@ install -pm 644 %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} \
|
|||||||
chmod 644 torque.setup
|
chmod 644 torque.setup
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags} -Wno-overlength-strings -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE"
|
CFLAGS="%{optflags} -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE"
|
||||||
%configure --includedir=%{_includedir}/torque \
|
%configure --includedir=%{_includedir}/torque \
|
||||||
--with-server-home=%{torquehomedir} --with-pam=/%{_lib}/security \
|
--with-server-home=%{torquehomedir} --with-pam=/%{_lib}/security \
|
||||||
--with-sendmail=%{_sbindir}/sendmail --disable-static \
|
--with-sendmail=%{_sbindir}/sendmail --disable-static \
|
||||||
|
Loading…
Reference in New Issue
Block a user