summary refs log tree commit diff
path: root/.gitattributes
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2016-11-09 10:33:34 -0200
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2016-11-10 18:03:37 -0200
commit0a557c105cad94758543e18b4834c15da2c39eb8 (patch)
treef7bdf938b1b5987ab5f0fb463dc3557aae187f0a /.gitattributes
parent3e06601fedba07d837089daa5c71fe397d6c8389 (diff)
downloadglibc-0a557c105cad94758543e18b4834c15da2c39eb8.tar.gz
glibc-0a557c105cad94758543e18b4834c15da2c39eb8.tar.xz
glibc-0a557c105cad94758543e18b4834c15da2c39eb8.zip
Fix sh4 build with __ASSUME_ST_INO_64_BIT redefinition
Since 327792c sh4 builds fails with:

../sysdeps/unix/sysv/linux/kernel-features.h:49:0: error: "__ASSUME_ST_INO_64_BIT" redefined [-Werror]
 #define __ASSUME_ST_INO_64_BIT  1
 ^
In file included from ../sysdeps/unix/sysv/linux/sysdep.h:19:0,
                 from ../sysdeps/unix/sysv/linux/sh/sysdep.h:24,
                 from ../sysdeps/unix/sysv/linux/sh/sh4/sysdep.h:4,
                 from <stdin>:1:
../sysdeps/unix/sysv/linux/sh/kernel-features.h:47:0: note: this is the location of the previous definition
 #define __ASSUME_ST_INO_64_BIT 0

It is because sh4 kernel-features.sh is included multiple times
without guards and this patch fixes by adding them.

Tested on a sh4-linux-gnu build.

	* sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
	guards.
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions