Package: mknbi / 1.4.4-10

02-gcc-multilib.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Daniel Baumann <daniel@debian.org>
Description: Build with gcc-multilib (Closes: #587734).

diff -Naurp mknbi.orig//Makefile mknbi/Makefile
--- mknbi.orig//Makefile	2010-07-01 14:41:36.745016394 +0200
+++ mknbi/Makefile	2010-07-01 14:41:13.661057745 +0200
@@ -18,7 +18,7 @@ ASM=nasm
 FIRSTRELOCS=	0x92800 0x82800
 OLDGAS:=	$(shell $(AS) --version | grep -q '2\.9\.1' && echo -DGAS291)
 CFLAGS=		-I. -Os -ffreestanding -fstrength-reduce -fomit-frame-pointer \
-		-mcpu=i386 \
+		-m32 -mcpu=i386 \
 		-Wall -W -Wno-format -Wno-unused -DVERSION=\"$(VERSION)$(EXTRAVERSION)\"
 LDBINARYFLAG=	--oformat binary
 FIRST32SIZE=	6144