blob: 0abfea93b9d61897693a6c74e760397c02cd3be6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
Author: Svante Signell <svante.signell@telia.com>
Description: Enable build of all targets on GNU/Hurd (Closes: #643649).
Index: trunk/Makefile
===================================================================
--- trunk.orig/Makefile
+++ trunk/Makefile
@@ -45,7 +45,7 @@ INSTALL_PROGRAM := $(INSTALL) -m 755
RM := rm -f
# BSD make provides $MACHINE, but GNU make doesn't
-MACHINE ?= $(shell uname -m 2>/dev/null)
+MACHINE ?= $(shell uname -m 2>/dev/null | cut - -d- -f 1)
# These programs are only useful on x86
PROGRAMS-i386 := biosdecode ownership vpddecode
|