SHA256
1
0
forked from pool/dynamips
Christoph Junghans 2014-02-19 18:35:22 +00:00 committed by Git OBS Bridge
parent 9027b54eff
commit a5eaabd3fa

View File

@ -33,8 +33,8 @@ Url: http://www.gns3.net
%ifarch x86_64 %ifarch x86_64
%if %{undefined fedora} %if %{undefined fedora}
BuildRequires: glibc-devel-32bit BuildRequires: glibc-devel-32bit
BuildRequires: glibc-32bit
%endif %endif
make_opts="DYNAMIPS_ARCH=amd64"
%endif %endif
Source: http://sourceforge.net/projects/gns-3/files/Dynamips/%{version}/%{name}-%{version}-source.zip Source: http://sourceforge.net/projects/gns-3/files/Dynamips/%{version}/%{name}-%{version}-source.zip
Summary: Cisco router Emulator Summary: Cisco router Emulator
@ -54,6 +54,9 @@ or people wanting to pass their CCNA/CCNP/CCIE exams.
%setup -q -n %{name}-%{version}-source %setup -q -n %{name}-%{version}-source
%build %build
%ifarch x86_64
make_opts="DYNAMIPS_ARCH=amd64"
%endif
export CFLAGS="%{optflags} -I/usr/include/libelf -fno-strict-aliasing -fstack-protector" export CFLAGS="%{optflags} -I/usr/include/libelf -fno-strict-aliasing -fstack-protector"
export CXXFLAGS="$CXXFLAGS" export CXXFLAGS="$CXXFLAGS"
%{__make} $make_opts %{__make} $make_opts