Re: [PATCH] fs/proc: Add compiler check for -Wno-override-init to support gcc < 4.2

From: Valdis . Kletnieks
Date: Wed Aug 03 2016 - 12:42:38 EST


On Wed, 03 Aug 2016 17:33:32 +0200, Geert Uytterhoeven said:
> With gcc < 4.2 (e.g. 4.1.2):
>
> CC fs/proc/task_mmu.o
> cc1: error: unrecognized command line option "-Wno-override-init"
>
> To fix this, only enable the compiler option when it is actually
> supported by the compiler.

Whoops, sorry about that.


Attachment: pgprYpyk1Q6mA.pgp
Description: PGP signature