Otherwise, they won't compile with gcc 4.4. Fixing the code would require massive changes, which is not practical for the code taken from another project. ---
fs/grubfs/build.xml | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/fs/grubfs/build.xml b/fs/grubfs/build.xml index 7469313..e5fb64a 100644 --- a/fs/grubfs/build.xml +++ b/fs/grubfs/build.xml @@ -1,17 +1,17 @@ <build> <library name="fs" type="static" target="target"> <object source="grubfs_fs.c"/> - <object source="fsys_ext2fs.c" condition="FSYS_EXT2FS" flags="-DFSYS_EXT2FS"/> - <object source="fsys_fat.c" condition="FSYS_FAT" flags="-DFSYS_FAT"/> - <object source="fsys_jfs.c" condition="FSYS_JFS" flags="-DFSYS_JFS"/> - <object source="fsys_minix.c" condition="FSYS_MINIX" flags="-DFSYS_MINIX"/> - <object source="fsys_reiserfs.c" condition="FSYS_REISERFS" flags="-DFSYS_REISERFS"/> - <object source="fsys_xfs.c" condition="FSYS_XFS" flags="-DFSYS_XFS"/> - <object source="fsys_ufs.c" condition="FSYS_UFS" flags="-DFSYS_UFS"/> - <object source="fsys_ffs.c" condition="FSYS_FFS" flags="-DFSYS_FFS"/> - <object source="fsys_vstafs.c" condition="FSYS_VSTAFS" flags="-DFSYS_VSTAFS"/> - <object source="fsys_iso9660.c" condition="FSYS_ISO9660" flags="-DFSYS_ISO9660"/> - <object source="fsys_ntfs.c" condition="FSYS_NTFS" flags="-DFSYS_NTFS"/> - <object source="fsys_affs.c" condition="FSYS_AFFS" flags="-DFSYS_AFFS"/> + <object source="fsys_ext2fs.c" condition="FSYS_EXT2FS" flags="-DFSYS_EXT2FS -fno-strict-aliasing"/> + <object source="fsys_fat.c" condition="FSYS_FAT" flags="-DFSYS_FAT -fno-strict-aliasing"/> + <object source="fsys_jfs.c" condition="FSYS_JFS" flags="-DFSYS_JFS -fno-strict-aliasing"/> + <object source="fsys_minix.c" condition="FSYS_MINIX" flags="-DFSYS_MINIX -fno-strict-aliasing"/> + <object source="fsys_reiserfs.c" condition="FSYS_REISERFS" flags="-DFSYS_REISERFS -fno-strict-aliasing"/> + <object source="fsys_xfs.c" condition="FSYS_XFS" flags="-DFSYS_XFS -fno-strict-aliasing"/> + <object source="fsys_ufs.c" condition="FSYS_UFS" flags="-DFSYS_UFS -fno-strict-aliasing"/> + <object source="fsys_ffs.c" condition="FSYS_FFS" flags="-DFSYS_FFS -fno-strict-aliasing"/> + <object source="fsys_vstafs.c" condition="FSYS_VSTAFS" flags="-DFSYS_VSTAFS -fno-strict-aliasing"/> + <object source="fsys_iso9660.c" condition="FSYS_ISO9660" flags="-DFSYS_ISO9660 -fno-strict-aliasing"/> + <object source="fsys_ntfs.c" condition="FSYS_NTFS" flags="-DFSYS_NTFS -fno-strict-aliasing"/> + <object source="fsys_affs.c" condition="FSYS_AFFS" flags="-DFSYS_AFFS -fno-strict-aliasing"/> </library> </build>