blob: d80d082ba3f0818086695bb3561bc6ea5bce194f [file] [log] [blame]
Andrew Geisslerd5838332022-05-27 11:33:10 -05001From c0c5241abdc113acbe6bcd960686cea414bce357 Mon Sep 17 00:00:00 2001
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00002From: Alexander Kanavin <alex@linutronix.de>
3Date: Mon, 7 Feb 2022 10:13:15 +0100
4Subject: [PATCH] config.mak.uname: do not force RHEL-7 specific build settings
5
6This breaks reproducibility as git builds on centos 7 use
7different flags than git builds on other host distros.
8
9Upstream-Status: Inappropriate [upstream needs to check compiler and component versions properly]
10Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Andrew Geisslerd5838332022-05-27 11:33:10 -050011
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000012---
Andrew Geisslerd5838332022-05-27 11:33:10 -050013 config.mak.uname | 4 ----
14 1 file changed, 4 deletions(-)
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000015
16diff --git a/config.mak.uname b/config.mak.uname
Andrew Geisslerd5838332022-05-27 11:33:10 -050017index 259d151..136ae3b 100644
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000018--- a/config.mak.uname
19+++ b/config.mak.uname
Andrew Geisslerd5838332022-05-27 11:33:10 -050020@@ -64,10 +64,6 @@ ifeq ($(uname_S),Linux)
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000021 PROCFS_EXECUTABLE_PATH = /proc/self/exe
22 HAVE_PLATFORM_PROCINFO = YesPlease
23 COMPAT_OBJS += compat/linux/procinfo.o
24- # centos7/rhel7 provides gcc 4.8.5 and zlib 1.2.7.
25- ifneq ($(findstring .el7.,$(uname_R)),)
26- BASIC_CFLAGS += -std=c99
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000027- endif
28 endif
29 ifeq ($(uname_S),GNU/kFreeBSD)
30 HAVE_ALLOCA_H = YesPlease