OSDN Git Service

Hello,
authorDavid McCullough <davidm@snapgear.com>
Wed, 22 Feb 2006 01:29:27 +0000 (01:29 +0000)
committerDavid McCullough <davidm@snapgear.com>
Wed, 22 Feb 2006 01:29:27 +0000 (01:29 +0000)
the following trivial patch is required to build elf2flt
on Darwin.  Weirdly, static compilation is intentionally
unsupported by Apple for better compatibility:

http://developer.apple.com/qa/qa2001/qa1118.html

As elf2flt binaries are usually shipped along with other
dynamic binaries such as gcc and gdb, we don't loose
anything on Linux.

I'd commit it myself, but I can't access the CVS server
right now.

Bernardo Innocenti <bernie@develer.com>

Makefile.in

index 6917cf3..6e8e310 100644 (file)
@@ -13,7 +13,7 @@ TARGET = @target_alias@
 CFLAGS = @CFLAGS@
 INCLUDES = @bfd_include_dir@ @binutils_include_dir@
 CPPFLAGS = @CPPFLAGS@
-LDFLAGS = @LDFLAGS@ -static
+LDFLAGS = @LDFLAGS@
 LIBS = @LIBS@
 INSTALL = @INSTALL@
 DEFS = @DEFS@ -DTARGET_$(CPU)