Skip to content

Commit

Permalink
accomodate davidlt suggestions; drop icc specific instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Feb 6, 2017
1 parent 3470a94 commit 00ad51d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions zlib-build.file
Expand Up @@ -4,11 +4,6 @@
%setup -n zlib-%{realversion}

%build
%if "%{cmscompiler}" == "icc"
%define cfgopts CC="icc -fPIC"
%else
%define cfgopts %{nil}
%endif

case %{cmsplatf} in
*_amd64_*|*_mic_*)
Expand All @@ -20,7 +15,7 @@ case %{cmsplatf} in
./configure --prefix=%{i}
;;
*)
%{cfgopts} ./configure --prefix=%{i}
./configure --prefix=%{i}
;;
esac

Expand Down
2 changes: 1 addition & 1 deletion zlib.spec
@@ -1,5 +1,5 @@
### RPM external zlib 1.0
%if "%{_arch}" == "x86_64"
%ifarch x86_64
Requires: zlib-x86_64
%define ZLIB_PKG ZLIB_X86_64
%else
Expand Down

0 comments on commit 00ad51d

Please sign in to comment.