From 325c30dac4eafdd463c8ffcfe1215858d642ab91 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex@linutronix.de>
Date: Mon, 7 Feb 2022 10:13:15 +0100
Subject: [PATCH] config.mak.uname: do not force RHEL-7 specific build settings

This breaks reproducibility as git builds on centos 7 use
different flags than git builds on other host distros.

Upstream-Status: Inappropriate [upstream needs to check compiler and component versions properly]
Signed-off-by: Alexander Kanavin <alex@linutronix.de>

Rebased for 2.45.1.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 config.mak.uname | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/config.mak.uname b/config.mak.uname
index b12d4e1..b5b8d82 100644
--- a/config.mak.uname
+++ b/config.mak.uname
@@ -63,10 +63,6 @@ ifeq ($(uname_S),Linux)
 	PROCFS_EXECUTABLE_PATH = /proc/self/exe
 	HAVE_PLATFORM_PROCINFO = YesPlease
 	COMPAT_OBJS += compat/linux/procinfo.o
-	# centos7/rhel7 provides gcc 4.8.5 and zlib 1.2.7.
-        ifneq ($(findstring .el7.,$(uname_R)),)
-		BASIC_CFLAGS += -std=c99
-        endif
 	LINK_FUZZ_PROGRAMS = YesPlease
 endif
 ifeq ($(uname_S),GNU/kFreeBSD)
