forked from pool/dynamips
This commit is contained in:
parent
9027b54eff
commit
a5eaabd3fa
@ -33,8 +33,8 @@ Url: http://www.gns3.net
|
||||
%ifarch x86_64
|
||||
%if %{undefined fedora}
|
||||
BuildRequires: glibc-devel-32bit
|
||||
BuildRequires: glibc-32bit
|
||||
%endif
|
||||
make_opts="DYNAMIPS_ARCH=amd64"
|
||||
%endif
|
||||
Source: http://sourceforge.net/projects/gns-3/files/Dynamips/%{version}/%{name}-%{version}-source.zip
|
||||
Summary: Cisco router Emulator
|
||||
@ -54,6 +54,9 @@ or people wanting to pass their CCNA/CCNP/CCIE exams.
|
||||
%setup -q -n %{name}-%{version}-source
|
||||
|
||||
%build
|
||||
%ifarch x86_64
|
||||
make_opts="DYNAMIPS_ARCH=amd64"
|
||||
%endif
|
||||
export CFLAGS="%{optflags} -I/usr/include/libelf -fno-strict-aliasing -fstack-protector"
|
||||
export CXXFLAGS="$CXXFLAGS"
|
||||
%{__make} $make_opts
|
||||
|
Loading…
Reference in New Issue
Block a user