From 155ce3d9a39f9ece1520de0ff2a5eed23f41b794 Mon Sep 17 00:00:00 2001 From: Thomas Heijligen Date: Tue, 12 Oct 2021 12:48:01 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/c/flashrom/+/58246 Reviewed-by: Nico Huber Tested-by: build bot (Jenkins) --- Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8e06deeb..29d10205 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 -- cgit v1.2.3