From c7627f41baaeb7f1a7b73ff66ef48eaafc1990f6 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Tue, 21 Aug 2018 11:43:35 +0200 Subject: [PATCH] Makeconfig: Do not sort and deduplicate +cflags [BZ # 17248] The original intent behind this is unclear. It interferes with flags that has to be ordered in a particular way. --- ChangeLog | 5 +++++ Makeconfig | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 408d7356ad..d834107754 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2018-08-21 Florian Weimer + + [BZ #17248] + * Makeconfig (+cflags): Do not sort (and deduplicate). + 2018-08-21 Florian Weimer * debug/readlink_chk.c (__readlink_chk): Always call __readlink. diff --git a/Makeconfig b/Makeconfig index 92e76d6200..a9e50e5b60 100644 --- a/Makeconfig +++ b/Makeconfig @@ -902,9 +902,6 @@ endif # $(+cflags) == "" $(+stack-protector) +gcc-nowarn := -w -# Don't duplicate options if we inherited variables from the parent. -+cflags := $(sort $(+cflags)) - # Each sysdeps directory can contain header files that both will be # used to compile and will be installed. Each can also contain an # include/ subdirectory, whose header files will be used to compile