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.
This commit is contained in:
Florian Weimer 2018-08-21 11:43:35 +02:00
parent ef939d928a
commit c7627f41ba
2 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2018-08-21 Florian Weimer <fweimer@redhat.com>
[BZ #17248]
* Makeconfig (+cflags): Do not sort (and deduplicate).
2018-08-21 Florian Weimer <fweimer@redhat.com>
* debug/readlink_chk.c (__readlink_chk): Always call __readlink.

View File

@ -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