[llvm-commits] CVS: llvm/Makefile.common

Vikram Adve vadve at cs.uiuc.edu
Sun Dec 15 19:32:00 PST 2002


Changes in directory llvm:

Makefile.common updated: 1.69 -> 1.70

---
Log message:

Use -Wl,-x instead of -s: it is more portable, and in particular, 
is needed on BSD (MacOS).
Also, use -Ldir instead of -L dir on the link line.  Same reason...


---
Diffs of the changes:

Index: llvm/Makefile.common
diff -u llvm/Makefile.common:1.69 llvm/Makefile.common:1.70
--- llvm/Makefile.common:1.69	Wed Dec  4 11:08:15 2002
+++ llvm/Makefile.common	Sun Dec 15 19:31:18 2002
@@ -144,7 +144,7 @@
 STRIP =
 WARN_MSG =
 else
-STRIP = -s
+STRIP = -Wl,-x
 WARN_MSG = "(without symbols) "
 endif
 
@@ -174,9 +174,9 @@
 else
 Link     := $(CXX)
 endif
-LinkG    := $(Link) -g  -L $(LIBDEBUG) $(STRIP)
-LinkO    := $(Link) -O3 -L $(LIBRELEASE)
-LinkP    := $(Link) -O3 -L $(LIBPROFILE) $(PROFILE)
+LinkG    := $(Link) -g  -L$(LIBDEBUG) $(STRIP)
+LinkO    := $(Link) -O3 -L$(LIBRELEASE)
+LinkP    := $(Link) -O3 -L$(LIBPROFILE) $(PROFILE)
 
 # Create one .o file from a bunch of .o files...
 Relink = ld -r





More information about the llvm-commits mailing list