udev: fix avr32 and microblaze build failures
PATCH 1/1 udev: fix avr32 and microblaze build failures
From: Simon Dawson <[email protected]>
Adjust compiler flags for avr32 and microblaze, where the -Wtype-limits flag is not available.
Fixes avr32 build failure http://autobuild.buildroot.net/results/5cbc55b8da883e6f30ecfa1295be0dc2a16ad58b
Fixes microblaze build failure http://autobuild.buildroot.net/results/7d98351aad27c9e5f7bfcdac0c243c1c6e0451f9
Signed-off-by Simon Dawson <[email protected]>
--- package/udev/udev-adjust-CFLAGS.patch | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 package/udev/udev-adjust-CFLAGS.patch
package/udev/udev-adjust-CFLAGS.patch new file +33 -0
@@ -0,0 +1,33 @@ +Adjust compiler flags for avr32 and microblaze, where the -Wtype-limits flag +is not available. + +Fixes avr32 build failure http://autobuild.buildroot.net/results/5cbc55b8da883e6f30ecfa1295be0dc2a16ad58b + +Fixes microblaze build failure http://autobuild.buildroot.net/results/7d98351aad27c9e5f7bfcdac0c243c1c6e0451f9 + +Signed-off-by: Simon Dawson <[email protected]> + +diff -Nurp a/configure b/configure +--- a/configure 2012-03-18 19:00:27.002435918 +0000 ++++ b/configure 2013-04-13 09:15:14.652577458 +0100 +@@ -13430,7 +13430,7 @@ my_CFLAGS="-Wall \ + -Wnested-externs -Wpointer-arith \ + -Wpointer-arith -Wsign-compare -Wchar-subscripts \ + -Wstrict-prototypes -Wshadow \ +--Wformat-security -Wtype-limits" ++-Wformat-security" + + + ac_config_headers="$ac_config_headers config.h" +diff -Nurp a/configure.ac b/configure.ac +--- a/configure.ac 2012-03-18 17:26:27.301301530 +0000 ++++ b/configure.ac 2013-04-13 09:14:53.824627175 +0100 +@@ -189,7 +189,7 @@ my_CFLAGS="-Wall \ + -Wnested-externs -Wpointer-arith \ + -Wpointer-arith -Wsign-compare -Wchar-subscripts \ + -Wstrict-prototypes -Wshadow \ +--Wformat-security -Wtype-limits" ++-Wformat-security" + AC_SUBST([my_CFLAGS]) + + AC_CONFIG_HEADERS(config.h)
Signature · 1 line
1.7.10.4