svn commit: [25625] trunk/busybox

vapier at busybox.net vapier at busybox.net
Thu Mar 12 07:56:50 UTC 2009


Author: vapier
Date: 2009-03-12 07:56:49 +0000 (Thu, 12 Mar 2009)
New Revision: 25625

Log:
the -elf2flt flag can be used w/out -Wl, so drop the requirement so people can use either form

Modified:
   trunk/busybox/Makefile.flags


Changeset:
Modified: trunk/busybox/Makefile.flags
===================================================================
--- trunk/busybox/Makefile.flags	2009-03-12 07:27:49 UTC (rev 25624)
+++ trunk/busybox/Makefile.flags	2009-03-12 07:56:49 UTC (rev 25625)
@@ -105,12 +105,12 @@
 LDLIBS += dmalloc
 endif
 
-# If a flat binary should be built, CFLAGS_busybox="-Wl,-elf2flt"
+# If a flat binary should be built, CFLAGS_busybox="-elf2flt"
 # env var should be set for make invocation.
 # Here we check whether CFLAGS_busybox indeed contains that flag.
 # (For historical reasons, we also check LDFLAGS, which doesn't
-# seem to be entirely correct variable to put "-Wl,-elf2flt" into).
-W_ELF2FLT = -Wl,-elf2flt
+# seem to be entirely correct variable to put "-elf2flt" into).
+W_ELF2FLT = -elf2flt
 ifneq (,$(findstring $(W_ELF2FLT),$(LDFLAGS) $(CFLAGS_busybox)))
 SKIP_STRIP = y
 endif



More information about the busybox-cvs mailing list