summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Heijligen <thomas.heijligen@secunet.de>2021-10-12 12:48:01 +0200
committerNico Huber <nico.h@gmx.de>2021-10-14 12:12:28 +0000
commit155ce3d9a39f9ece1520de0ff2a5eed23f41b794 (patch)
tree6abfc52de02d6086246805a98820a41e20801577
parent29418b74796da22445b51591a604ee6ebc8d8b70 (diff)
downloadflashrom-155ce3d9a39f9ece1520de0ff2a5eed23f41b794.tar.gz
flashrom-155ce3d9a39f9ece1520de0ff2a5eed23f41b794.tar.bz2
flashrom-155ce3d9a39f9ece1520de0ff2a5eed23f41b794.zip
Makefile: use STRIP_ARGS = -s on all systems
Set -s (--strip-all) as STRIP_ARGS explicitly on all systems instead of only on systems (SunOS / Solaris) where strip-all is not the default behavior. Change-Id: I2c80d553fb54d94bc65f07e700c90dd1bae4854e Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.de> Reviewed-on: https://review.coreboot.org/c/flashrom/+/58246 Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 8e06deebb..29d10205d 100644
--- a/Makefile
+++ b/Makefile
@@ -28,6 +28,7 @@ PROGRAM = flashrom
# Note for anyone editing this Makefile: gnumake will happily ignore any
# changes in this Makefile to variables set on the command line.
STRIP ?= strip
+STRIP_ARGS = -s
INSTALL = install
DIFF = diff
PREFIX ?= /usr/local
@@ -157,10 +158,6 @@ ifeq ($(findstring MINGW, $(HOST_OS)), MINGW)
CC = gcc
endif
-ifneq ($(HOST_OS), SunOS)
-STRIP_ARGS = -s
-endif
-
# Determine the destination OS.
# IMPORTANT: The following line must be placed before TARGET_OS is ever used
# (of course), but should come after any lines setting CC because the line