This commit is contained in:
parent
87feb7ad74
commit
af2bf3c32a
@ -53,13 +53,13 @@ to use a RoCE network without needing to make changes in them.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
MYCFLAGS=$(grep ^CFLAGS Makefile | cut -f2 -d=)
|
MYCFLAGS=$(grep ^CFLAGS Makefile | cut -f2 -d=)
|
||||||
make CFLAGS="${MYCFLAGS} ${RPM_OPT_FLAGS}"
|
make CFLAGS="${MYCFLAGS} %{optflags}"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
%ifarch s390 %{ix86}
|
%ifarch s390 %{ix86}
|
||||||
rm -rf ${RPM_BUILD_ROOT}/usr/lib64
|
rm -rf "%{buildroot}/usr/lib64"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
Loading…
Reference in New Issue
Block a user