]> git.wh0rd.org Git - elf2flt.git/commitdiff
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 6917cf35188735fee42bb79ccf19608dc0c9e8f2..6e8e3105e624e1fd65ef0c094f90dd7f2c0b70ee 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)