summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-11-02 02:20:13 +0000
committerMike Frysinger <vapier@gentoo.org>2005-11-02 02:20:13 +0000
commita9d7ad63be997194267b2f37f832f84d0b5808f1 (patch)
tree84f33af7362bfde74d8463f2bf596afed38491f0
parent5a7a7164cceaf47629c38b0a84615937e14da468 (diff)
set default STRIP_FLAGS and change how we detect silent mode
-rw-r--r--Rules.mak4
1 files changed, 3 insertions, 1 deletions
diff --git a/Rules.mak b/Rules.mak
index 6313ecc8c..7a0c48733 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -49,6 +49,8 @@ INSTALL = install
LN = ln
RM = rm -f
+STRIP_FLAGS ?= -x -R .note -R .comment
+
# Select the compiler needed to build binaries for your development system
HOSTCC = gcc
HOSTCFLAGS = -O2 -Wall
@@ -94,7 +96,7 @@ check_as=$(shell \
then echo "-Wa,$(1)"; fi)
# Setup some shortcuts so that silent mode is silent like it should be
-ifeq ($(subst s,,$(MAKEFLAGS)),$(MAKEFLAGS))
+ifeq ($(findstring s,$(MAKEFLAGS)),)
export MAKE_IS_SILENT=n
SECHO=@echo
SHELL_SET_X=set -x