From 7f5be628f66ec7b8b22e87ace39ee61213c6313b Mon Sep 17 00:00:00 2001 From: Phil Oester Date: Thu, 20 Jul 2006 16:59:04 +0000 Subject: Use gcc to build shared objects (Phil Oester ) As suggested by Dmitry Levin and included in Fedora Core releases, use gcc instead of ld to link shared objects. Fedora rpm notes refer to this fixing a plugin problem, but does not offer specifics. But in any event, 'gcc -dumpspecs' does show gcc will pass a number of parameters which in theory it thinks are better. Compile tested both with and without NO_SHARED_LIBS. Closes bug #454. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 12cc34b2..2673fd58 100644 --- a/Makefile +++ b/Makefile @@ -67,7 +67,7 @@ ifeq ($(shell uname -m),sparc64) # The kernel is 64-bit, even though userspace is 32. CFLAGS+=-DIPT_MIN_ALIGN=8 -DKERNEL_64_USERSPACE_32 else - EXT_LDFLAGS=-m elf64_sparc + EXT_LDFLAGS+=-Wl,-m,elf64_sparc endif endif -- cgit v1.2.3