kmod: fix build failure on gcc < 4.6 caused by _Static_assert()
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 28 Aug 2013 16:10:32 +0000 (18:10 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 28 Aug 2013 21:59:26 +0000 (23:59 +0200)
commit10f1903f4fe60a17944016b4f4fcb094e46c7a68
treed2d66d55fe34eb4f311bee6471ed5650dcea77a3
parent339868d244dba9befe71b7bca2d70ce723b230b1
kmod: fix build failure on gcc < 4.6 caused by _Static_assert()

This commit introduces a patch to kmod that ensures _Static_assert()
is only used if available. The patch has been submitted upstream.

Fixes:

  http://autobuild.buildroot.net/results/9daf0f46642020591731e20d3bf9041ff6259846/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/kmod/kmod-0001-Add-configure-check-for-_Static_assert.patch [new file with mode: 0644]
package/kmod/kmod.mk