From a5eaabd3faaa302738dd5ac7c0311b17e0bb3a044bb1f1ad480d84175aeaa8b1 Mon Sep 17 00:00:00 2001 From: Christoph Junghans Date: Wed, 19 Feb 2014 18:35:22 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Education/dynamips?expand=0&rev=23 --- dynamips.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dynamips.spec b/dynamips.spec index 7699a10..31b2812 100644 --- a/dynamips.spec +++ b/dynamips.spec @@ -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