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

Vikram Adve vadve at cs.uiuc.edu
Sun Oct 20 16:46:01 PDT 2002


Changes in directory llvm:

Makefile.common updated: 1.62 -> 1.63

---
Log message:

Warn when we are linking an executable without symbols.


---
Diffs of the changes:

Index: llvm/Makefile.common
diff -u llvm/Makefile.common:1.62 llvm/Makefile.common:1.63
--- llvm/Makefile.common:1.62	Mon Oct 14 20:59:45 2002
+++ llvm/Makefile.common	Sun Oct 20 16:45:49 2002
@@ -142,8 +142,10 @@
 # By default, strip symbol information from executable
 ifdef KEEP_SYMBOLS
 STRIP =
+WARN_MSG =
 else
 STRIP = -s
+WARN_MSG = "(without symbols) "
 endif
 
 # Allow gnu extensions...
@@ -397,7 +399,7 @@
 	$(VERB) rm -f $(TOOLEXENAMES)
 
 $(TOOLEXENAME_G): $(ObjectsG) $(USED_LIB_PATHS_G) $(BUILD_ROOT_TOP)/tools/Debug/.dir
-	@echo ======= Linking $(TOOLNAME) debug executable =======
+	@echo ======= Linking $(TOOLNAME) debug executable $(WARN_MSG) =======
 	$(VERB) $(LinkG) -o $@ $(ObjectsG) $(USED_LIBS_OPTIONS_G) $(TOOLLINKOPTS)
 
 $(TOOLEXENAME_O): $(ObjectsO) $(USED_LIB_PATHS_O) $(BUILD_ROOT_TOP)/tools/Release/.dir





More information about the llvm-commits mailing list