Author: buchan
Date: Fri Feb 2 11:05:41 2007
New Revision: 115895
Modified:
packages/cooker/dynamips/current/SPECS/dynamips.spec
Log:
Fix build on x86_64
Modified: packages/cooker/dynamips/current/SPECS/dynamips.spec
==============================================================================
--- packages/cooker/dynamips/current/SPECS/dynamips.spec (original)
+++ packages/cooker/dynamips/current/SPECS/dynamips.spec Fri Feb 2
11:05:41 2007
@@ -12,8 +12,7 @@
Patch: dynamips-makefile-libs.patch
BuildRoot: %{_tmppath}/%{name}-root
BuildRequires: libpcap-devel elfutils-devel
-# Should work on x86_64 also, but seems to be broken at present
-ExclusiveArch: %ix86
+ExclusiveArch: %ix86 x86_64
%description
I started in August 2005 a project to emulate a Cisco 7200 on a traditionnal
@@ -42,6 +41,9 @@
%build
#%make
#parallel build fails
+%ifarch x86_64
+export DYNAMIPS_ARCH=amd64
+%endif
make
%install