From 3510a345f0f083d2c34f27c1bb3f762325a92826 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Sat, 4 Jan 2014 22:56:07 +0100 Subject: Use dpkg-architecture(1). When compiling for x86_86 on a i386 machine or vice versa, the following warning appears: dpkg-architecture: warning: specified GNU system type x86_64-linux-gnu does not match gcc system type i486-linux-gnu, try setting a correct CC environment variable However this is harmless, even if the multilib approach is a bit hacky and does not replace a proper cross-compiler. Cf. bug #712000 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712000 --- src/fripost-partman-udeb/Makefile | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/fripost-partman-udeb') diff --git a/src/fripost-partman-udeb/Makefile b/src/fripost-partman-udeb/Makefile index a1e0e73..1b96c14 100644 --- a/src/fripost-partman-udeb/Makefile +++ b/src/fripost-partman-udeb/Makefile @@ -1,13 +1,6 @@ CC ?= gcc CFLAGS ?= -Wall -x c -s -ifeq (${ARCH}, amd64) -CFLAGS += -m64 -endif -ifeq (${ARCH}, i386) -CFLAGS += -m32 -endif - LIBS = lib/stdbuf.so all: ${LIBS} -- cgit v1.2.3