From 3713addeaa8a3cb8bdb1606f14101f46782e18da Mon Sep 17 00:00:00 2001 From: bebbo Date: Sat, 12 May 2018 20:05:15 +0200 Subject: [PATCH] disabled flavor sorting --- ld/ldfile.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ld/ldfile.c b/ld/ldfile.c index 158b7cd..b17824f 100644 --- a/ld/ldfile.c +++ b/ld/ldfile.c @@ -75,24 +75,26 @@ static bfd_boolean is_sysrooted_pathname PARAMS ((const char *, bfd_boolean)); /* Flavour support. */ - +#if 0 static int flavors_cmp PARAMS ((const void *f1, const void *f2)); - +#endif static int n_flavors, flavors_len; static char **flavors; - +#if 0 static int flavors_cmp (f1, f2) const void *f1, *f2; { return strcmp (*(char **)f1, *(char **)f2); } - +#endif void ldfile_sort_flavors () { +#if 0 if (n_flavors > 1) qsort ((void *) flavors, n_flavors, sizeof (char **), flavors_cmp); +#endif } void