From 599dd1cab8011f43e54f2eb613e695281380e5e4 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Fri, 18 Sep 2009 08:46:24 -0400 Subject: [PATCH] Update makefile to compiler for 32-bit architectures on x86_64 Signed-off-by: Mathieu Desnoyers --- Makefile | 3 +++ Makefile64 | 1 + tests/Makefile | 3 +++ tests/Makefile64 | 1 + 4 files changed, 8 insertions(+) diff --git a/Makefile b/Makefile index ab19097..7b30f9c 100644 --- a/Makefile +++ b/Makefile @@ -1 +1,4 @@ include Makefile.inc + +CFLAGS+=-m32 +LDFLAGS+=-m32 diff --git a/Makefile64 b/Makefile64 index cca1cdc..6103d34 100644 --- a/Makefile64 +++ b/Makefile64 @@ -1,3 +1,4 @@ include Makefile.inc CFLAGS+=-m64 +LDFLAGS+=-m64 diff --git a/tests/Makefile b/tests/Makefile index ab19097..7b30f9c 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -1 +1,4 @@ include Makefile.inc + +CFLAGS+=-m32 +LDFLAGS+=-m32 diff --git a/tests/Makefile64 b/tests/Makefile64 index cca1cdc..6103d34 100644 --- a/tests/Makefile64 +++ b/tests/Makefile64 @@ -1,3 +1,4 @@ include Makefile.inc CFLAGS+=-m64 +LDFLAGS+=-m64 -- 2.34.1