[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#250866: ddetect: Patch to use arch instead of cpu



Package: ddetect
Version: 0.98
Severity: normal
Followup-For: Bug #250866

Change CPU_TEXT to output the arch instead of the cpu.

-- System Information:
Debian Release: testing/unstable
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.5-amd64
Locale: LANG=C, LC_CTYPE=C
--- ddetect-0.98.deb/Makefile	2004-05-25 01:18:16.000000000 +0000
+++ ddetect-0.98/Makefile	2004-05-25 20:28:18.454877777 +0000
@@ -4,7 +4,7 @@
 DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 
 CC = gcc
-CFLAGS = -Wall -O2 -g --std=c99 -DARCH=$(DEB_HOST_ARCH) -DCPU=$(DEB_HOST_GNU_CPU) -DCPU_TEXT='"$(DEB_HOST_GNU_CPU)"' -DSYSTEM=$(DEB_HOST_GNU_SYSTEM)
+CFLAGS = -Wall -O2 -g --std=c99 -DARCH=$(DEB_HOST_ARCH) -DCPU=$(DEB_HOST_GNU_CPU) -DCPU_TEXT='"$(DEB_HOST_ARCH)"' -DSYSTEM=$(DEB_HOST_GNU_SYSTEM)
 LDFLAGS = -ldebconfclient
 
 bindir=$(DESTDIR)/bin/

Reply to: