Package: agrep
Version: 4.17-1
Severity: serious
Tags: patch

When building 'agrep' on amd64/unstable,
I get the following error:

/usr/bin/make
make[1]: Entering directory `/agrep-4.17'
gcc -march=i486 -DMEASURE_TIMES=0 -DAGREP_POINTER=1 -DDOTCOMPRESSED=0 -I. 
-DUTIME=1 -DISO_CHAR_SET=1 -c  -O2     -c -o follow.o follow.c
follow.c:1: error: CPU you selected does not support x86-64 instruction set
follow.c:1: error: CPU you selected does not support x86-64 instruction set
make[1]: *** [follow.o] Error 1
make[1]: Leaving directory `/agrep-4.17'
make: *** [build-stamp] Error 2

With the attached patch 'agrep' can be compiled on amd64 and other
non-i386 architectures.

Regards
Andreas Jochens

diff -urN ../tmp-orig/agrep-4.17/Makefile ./Makefile
--- ../tmp-orig/agrep-4.17/Makefile     2003-10-14 09:58:05.000000000 +0000
+++ ./Makefile  2005-12-27 15:21:43.000000000 +0000
@@ -19,7 +19,7 @@
 ISO_CHAR_SET = 1
 
 # You might have to change this depending on your machine configuration.
-CC           = gcc -march=i486
+CC           = gcc
 
 SHELL = /bin/sh
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to