From 41231d786970edbda805198ea142f9dc6ffd6e27 Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Tue, 16 Feb 2021 13:18:12 -0700 Subject: [PATCH] Remove 32-bit builds on 64-bit Linux --- db-mysql/Makefile | 6 +++--- uffi/Makefile | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/db-mysql/Makefile b/db-mysql/Makefile index cf7c71d..fed4bcc 100644 --- a/db-mysql/Makefile +++ b/db-mysql/Makefile @@ -66,9 +66,9 @@ else gcc $(CFLAGS) -fPIC -c $(source) -o $(object) gcc $(LDFLAGS) -fPIC -shared -Wl,-soname=$(base) -lc $(object) -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) - -gcc $(LDFLAGS) -fPIC -shared -Wl,-soname=$(base) -lc $(object) $(LDFLAGS32) -o $(shared_lib) + #@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) + #-gcc $(LDFLAGS) -fPIC -shared -Wl,-soname=$(base) -lc $(object) $(LDFLAGS32) -o $(shared_lib) else gcc $(CFLAGS) -fPIC -c $(source) -o $(object) gcc -fPIC -shared -Wl,-soname=$(base) $(object) $(LDFLAGS) -o $(shared_lib) diff --git a/uffi/Makefile b/uffi/Makefile index 7599380..8ae1fd9 100644 --- a/uffi/Makefile +++ b/uffi/Makefile @@ -57,9 +57,9 @@ else gcc $(CFLAGS) -fPIC -DPIC -c $(source) -o $(object) gcc $(LDFLAGS) -fPIC -shared -Wl,-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 $(CFLAGS) -fPIC -DPIC -c $(source) -o $(object) - -gcc -m32 $(LDFLAGS) -fPIC -shared -Wl,-soname=$(base) -lc $(object) -o $(shared_lib) + #@echo "Ensure that you have multiarch i386 build tools if you want to build 32-bit library" + #-gcc -m32 $(CFLAGS) -fPIC -DPIC -c $(source) -o $(object) + #-gcc -m32 $(LDFLAGS) -fPIC -shared -Wl,-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