[llvm-commits] CVS: llvm-gcc/libiberty/Makefile.in

Brian Gaeke gaeke at cs.uiuc.edu
Fri Apr 2 14:42:33 PST 2004


Changes in directory llvm-gcc/libiberty:

Makefile.in updated: 1.2 -> 1.3

---
Log message:

Solaris chokes on "for $g in ;" - so make sure EXTRA_OFILES is never
empty. This is a nasty ol' hack, but if I ever get another makefile error
from libiberty, I am going to scream.  And besides, the strchr in
this file looks reasonable enough.


---
Diffs of the changes:  (+2 -2)

Index: llvm-gcc/libiberty/Makefile.in
diff -u llvm-gcc/libiberty/Makefile.in:1.2 llvm-gcc/libiberty/Makefile.in:1.3
--- llvm-gcc/libiberty/Makefile.in:1.2	Mon Mar 29 15:08:41 2004
+++ llvm-gcc/libiberty/Makefile.in	Fri Apr  2 13:44:48 2004
@@ -77,7 +77,7 @@
 
 # A configuration can specify extra .o files that should be included,
 # even if they are in libc. (Perhaps the libc version is buggy.)
-EXTRA_OFILES = 
+EXTRA_OFILES =  strchr.o
 
 # Flags to pass to a recursive make.
 FLAGS_TO_PASS = \
@@ -307,7 +307,7 @@
 needed-list: Makefile
 	rm -f needed-list; touch needed-list; \
 	for f in $(NEEDED); do \
-    if test -n $(LIBOBJS) -o -n $(EXTRA_OFILES); then \
+    if test -n "$(LIBOBJS)" -o -n "$(EXTRA_OFILES)"; then \
       for g in $(LIBOBJS) $(EXTRA_OFILES); do \
         case "$$g" in \
           *$$f*) echo $$g >> needed-list ;; \





More information about the llvm-commits mailing list