[llvm-commits] CVS: llvm/Makefile.common
vadve at cs.uiuc.edu
vadve at cs.uiuc.edu
Wed Sep 18 06:56:01 PDT 2002
Changes in directory llvm:
Makefile.common updated: 1.53 -> 1.54
---
Log message:
Strip tools/Debug/ executables by default. Define KEEP_SYMBOLS to
turn off stripping for any executable.
---
Diffs of the changes:
Index: llvm/Makefile.common
diff -u llvm/Makefile.common:1.53 llvm/Makefile.common:1.54
--- llvm/Makefile.common:1.53 Tue Sep 17 23:29:30 2002
+++ llvm/Makefile.common Wed Sep 18 06:55:13 2002
@@ -131,6 +131,13 @@
PROFILE =
endif
+# By default, strip symbol information from executable
+ifdef KEEP_SYMBOLS
+STRIP =
+else
+STRIP = -s
+endif
+
# Allow gnu extensions...
CPPFLAGS += -D_GNU_SOURCE
@@ -149,7 +156,7 @@
else
Link := $(CXX) $(PROFILE)
endif
-LinkG := $(Link) -g -L $(LIBDEBUG)
+LinkG := $(Link) -g -L $(LIBDEBUG) $(STRIP)
LinkO := $(Link) -O3 -L $(LIBRELEASE)
# Create one .o file from a bunch of .o files...
More information about the llvm-commits
mailing list