From c7627f41baaeb7f1a7b73ff66ef48eaafc1990f6 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Tue, 21 Aug 2018 11:43:35 +0200 Subject: 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 408d735..d834107 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 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. * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file. diff --git a/Makeconfig b/Makeconfig index 92e76d6..a9e50e5 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 -- cgit v1.1