From: Mathieu Desnoyers Date: Fri, 18 Sep 2009 12:46:24 +0000 (-0400) Subject: Update makefile to compiler for 32-bit architectures on x86_64 X-Git-Tag: v0.1~74 X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=commitdiff_plain;h=599dd1cab8011f43e54f2eb613e695281380e5e4 Update makefile to compiler for 32-bit architectures on x86_64 Signed-off-by: Mathieu Desnoyers --- 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