On Thu, Mar 15, 2012 at 1:14 PM, Randy Witt <rewitt@xxxxxxxxxxxxxxx> wrote: > On the ARM gcc 4.2.2 many > "--as-needed: linker input file unused because linking not done" > style warnings appear when libtool is using compile mode. > > In order to silence these warnings and be "correct", the flags that > only make sense for linking are moved into LDFLAGS. > --- > configure.ac | 8 +++++--- > 1 files changed, 5 insertions(+), 3 deletions(-) > > diff --git a/configure.ac b/configure.ac > index 7c04a4a..f4f1a9d 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -126,9 +126,11 @@ CC_CHECK_CFLAGS_APPEND([ \ > -fdiagnostics-show-option \ > -fvisibility=hidden \ > -ffunction-sections \ > - -fdata-sections \ > - -Wl,--as-needed \ > - -Wl,--gc-sections]) > + -fdata-section]) You are missing one 's' here Lucas De Marchi -- To unsubscribe from this list: send the line "unsubscribe linux-modules" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html