1*4882a593SmuzhiyunFrom 3b2505435bc6f982226eff84bad6bf9a36381573 Mon Sep 17 00:00:00 2001
2*4882a593SmuzhiyunFrom: Alexander Kanavin <alex@linutronix.de>
3*4882a593SmuzhiyunDate: Mon, 7 Feb 2022 10:13:15 +0100
4*4882a593SmuzhiyunSubject: [PATCH] config.mak.uname: do not force RHEL-7 specific build settings
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunThis breaks reproducibility as git builds on centos 7 use
7*4882a593Smuzhiyundifferent flags than git builds on other host distros.
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunUpstream-Status: Inappropriate [upstream needs to check compiler and component versions properly]
10*4882a593SmuzhiyunSigned-off-by: Alexander Kanavin <alex@linutronix.de>
11*4882a593Smuzhiyun---
12*4882a593Smuzhiyun config.mak.uname | 5 -----
13*4882a593Smuzhiyun 1 file changed, 5 deletions(-)
14*4882a593Smuzhiyun
15*4882a593Smuzhiyundiff --git a/config.mak.uname b/config.mak.uname
16*4882a593Smuzhiyunindex c48db45..9b3e9bf 100644
17*4882a593Smuzhiyun--- a/config.mak.uname
18*4882a593Smuzhiyun+++ b/config.mak.uname
19*4882a593Smuzhiyun@@ -63,11 +63,6 @@ ifeq ($(uname_S),Linux)
20*4882a593Smuzhiyun 	PROCFS_EXECUTABLE_PATH = /proc/self/exe
21*4882a593Smuzhiyun 	HAVE_PLATFORM_PROCINFO = YesPlease
22*4882a593Smuzhiyun 	COMPAT_OBJS += compat/linux/procinfo.o
23*4882a593Smuzhiyun-	# centos7/rhel7 provides gcc 4.8.5 and zlib 1.2.7.
24*4882a593Smuzhiyun-	ifneq ($(findstring .el7.,$(uname_R)),)
25*4882a593Smuzhiyun-		BASIC_CFLAGS += -std=c99
26*4882a593Smuzhiyun-		NO_UNCOMPRESS2 = YesPlease
27*4882a593Smuzhiyun-	endif
28*4882a593Smuzhiyun endif
29*4882a593Smuzhiyun ifeq ($(uname_S),GNU/kFreeBSD)
30*4882a593Smuzhiyun 	HAVE_ALLOCA_H = YesPlease
31