From: Kevin Rosenberg Date: Thu, 12 Nov 2009 07:48:42 +0000 (-0700) Subject: ignore build errors for 32-bit libraries on Linux x64 X-Git-Tag: debian-4.1.2-1^0 X-Git-Url: http://git.kpe.io/?p=clsql.git;a=commitdiff_plain;h=4e13a7c3d278d8a8a9cd39d72f82355c5a76e6eb;hp=244328d6a2b108b8d4448df06034ca088e313440 ignore build errors for 32-bit libraries on Linux x64 --- 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)