nmon make package arch independent
Signed-off-by: basebuilder_pel7x64builder0 <basebuilder@powerel.org>master
parent
2a8292c45f
commit
fbb9d79073
|
@ -25,7 +25,20 @@ cp %{SOURCE0} .
|
|||
|
||||
|
||||
%build
|
||||
%{__cc} %{optflags} -D JFS -D GETUSER -D LARGEMEM -D POWER -D RHEL7 -D KERNEL_2_6_18 -lncurses -Wall -g -lm lmon%{version}.c -o %{name}
|
||||
%{__cc} \
|
||||
%{optflags} \
|
||||
-D JFS \
|
||||
-D GETUSER \
|
||||
-D LARGEMEM \
|
||||
%ifarch ppc64 ppc64le
|
||||
-D POWER \
|
||||
%endif
|
||||
%ifarch x86_64
|
||||
-D X86 \
|
||||
%endif
|
||||
-D RHEL7 \
|
||||
-D KERNEL_2_6_18 \
|
||||
-lncurses -Wall -g -lm lmon%{version}.c -o %{name}
|
||||
|
||||
|
||||
%install
|
||||
|
|
Loading…
Reference in New Issue