From 4e13a7c3d278d8a8a9cd39d72f82355c5a76e6eb Mon Sep 17 00:00:00 2001 From: Kevin Rosenberg Date: Thu, 12 Nov 2009 00:48:42 -0700 Subject: [PATCH] ignore build errors for 32-bit libraries on Linux x64 --- db-mysql/Makefile | 4 ++-- uffi/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/db-mysql/Makefile b/db-mysql/Makefile index 552b1f3..a5c6c6d 100644 --- a/db-mysql/Makefile +++ b/db-mysql/Makefile @@ -60,8 +60,8 @@ else ld -shared -soname=$(base) $(object) $(LDFLAGS) -o $(shared64_lib) rm $(object) @echo "Ensure that you have multiarch i386 build tools and libraries if you want to build 32-bit library" - gcc $(CFLAGS32) -fPIC -c $(source) -o $(object) - ld -shared -soname=$(base) $(object) $(LDFLAGS32) -o $(shared_lib) + -gcc $(CFLAGS32) -fPIC -c $(source) -o $(object) + -ld -shared -soname=$(base) $(object) $(LDFLAGS32) -o $(shared_lib) else gcc $(CFLAGS) -fPIC -c $(source) -o $(object) ld -shared -soname=$(base) $(object) $(LDFLAGS) -o $(shared_lib) diff --git a/uffi/Makefile b/uffi/Makefile index ac52e34..56d4bb2 100644 --- a/uffi/Makefile +++ b/uffi/Makefile @@ -48,8 +48,8 @@ else ld -shared -soname=$(base) -lc $(object) -o $(shared64_lib) rm -f $(object) @echo "Ensure that you have multiarch i386 build tools if you want to build 32-bit library" - gcc -m32 -fPIC -DPIC -c $(source) -o $(object) - ld -melf_i386 -shared -soname=$(base) -lc $(object) -o $(shared_lib) + -gcc -m32 -fPIC -DPIC -c $(source) -o $(object) + -ld -melf_i386 -shared -soname=$(base) -lc $(object) -o $(shared_lib) else gcc -fPIC -DPIC -c $(source) -o $(object) ld -shared -soname=$(base) -lc $(object) -o $(shared_lib) -- 2.34.1