Browse Source

drop LDFLAGS from OUTPUT_FORMAT until LD/LDFLAGS can be fixed in general

Mike Frysinger 17 years ago
parent
commit
0e51d28d06
2 changed files with 3 additions and 1 deletions
  1. 2 0
      TODO
  2. 1 1
      libc/Makefile.in

+ 2 - 0
TODO

@@ -39,6 +39,8 @@ TODO list for the uClibc 0.9.29 release:
     *) Should integrate test subdir better ... need to propagate CPU
 	CFLAGS/LDFLAGS to the build/link for target binaries so that when we have
 	a multilib toolchain, the proper ABI is selected.
+    *) LD/LDFLAGS handling is broken ... stop invoking the linker directly and
+	have everything go through the compiler driver
 
 
 TODO list for the uClibc 1.0.0 release:

+ 1 - 1
libc/Makefile.in

@@ -54,7 +54,7 @@ lib-gdb-y += $(top_builddir)lib/libc.gdb
 lib-so-y += $(libc)
 objclean-y += libc_clean
 
-OUTPUT_FORMAT = $(CC) $(CFLAGS) $(LDFLAGS) -Wl,--verbose 2>&1 | sed -n 's/^OUTPUT_FORMAT("\([^"]*\)",.*/\1/p'
+OUTPUT_FORMAT = $(CC) $(CFLAGS) -Wl,--verbose 2>&1 | sed -n 's/^OUTPUT_FORMAT("\([^"]*\)",.*/\1/p'
 
 ifeq ($(DOMULTI),n)
 $(libc:.$(MAJOR_VERSION)=): $(libc_OUT)/libc_so.a $(LIBS-libc.so)