commit | aa09545589ceeff884421d8eb38d04963190afbe | [log] [tgz] |
---|---|---|
author | Brian Norris <computersforpeace@gmail.com> | Fri Jan 08 10:30:09 2016 -0800 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Mon Jan 11 20:30:52 2016 +1100 |
tree | ed5ae717a4f30343d45e77c77934885610a5aac3 | |
parent | e708c24cd01ce80b1609d8baccee40ccc3608a01 [diff] |
cxl: fix build for GCC 4.6.x GCC 4.6.3 does not support -Wno-unused-const-variable. Instead, use the kbuild infrastructure that checks if this options exists. Fixes: 2cd55c68c0a4 ("cxl: Fix build failure due to -Wunused-variable behaviour change") Suggested-by: Michal Marek <mmarek@suse.com> Suggested-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>