Mercurial > archived > louis > epitech > mq > rathaxes
view maintainers_build_lkm_in_gnu99.patch @ 89:a9b47a2f8b98
Wip on tx, fix ioaddr being incorrectly generated
author | Louis Opter <louis@lse.epitech.net> |
---|---|
date | Thu, 04 Oct 2012 19:33:43 +0200 |
parents | e9736ab70995 |
children |
line wrap: on
line source
# HG changeset patch # Parent c53df313fbe2c5f971327b697cfcf506941b9b80 maintainers: use the gnu99 "standard" to build Linux kernel modules diff --git a/maintainers/CMakeScripts/Templates/MakefileLKM.in b/maintainers/CMakeScripts/Templates/MakefileLKM.in --- a/maintainers/CMakeScripts/Templates/MakefileLKM.in +++ b/maintainers/CMakeScripts/Templates/MakefileLKM.in @@ -1,6 +1,6 @@ # Disable this "coding-style" warning (seriously, you have to compile with # -pedantic to get it...) -EXTRA_CFLAGS = -Wno-declaration-after-statement +EXTRA_CFLAGS = -Wno-declaration-after-statement -std=gnu99 KDIR = /lib/modules/$(shell uname -r)/build obj-m := @LKM_OBJECTS@