Module Name: src
Committed By: rin
Date: Wed Jul 26 02:26:11 UTC 2023
Modified Files:
src/distrib/utils/x_fsck_ffs: Makefile
src/distrib/utils/x_newfs: Makefile
Log Message:
x_fsck_ffs, x_newfs: XXX: Sprinkle -Wno-error=address-of-packed-member
for GCC/powerpc 10.5.0 with -Os.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/distrib/utils/x_fsck_ffs/Makefile
cvs rdiff -u -r1.2 -r1.3 src/distrib/utils/x_newfs/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/utils/x_fsck_ffs/Makefile
diff -u src/distrib/utils/x_fsck_ffs/Makefile:1.2 src/distrib/utils/x_fsck_ffs/Makefile:1.3
--- src/distrib/utils/x_fsck_ffs/Makefile:1.2 Sat Apr 18 12:56:38 2020
+++ src/distrib/utils/x_fsck_ffs/Makefile Wed Jul 26 02:26:11 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2020/04/18 12:56:38 jdolecek Exp $
+# $NetBSD: Makefile,v 1.3 2023/07/26 02:26:11 rin Exp $
# Build a smaller fsck_ffs (i.e. for boot media).
# Support for Endian-Independent FFS and Apple UFS is dropped unless FFS_EI=1
# and APPLE_UFS=1 are added to CRUNCHENV, respectively.
@@ -17,6 +17,7 @@ CPPFLAGS+= -DNO_FFS_EI
.ifdef APPLE_UFS
SRCS+= ffs_appleufs.c
+COPTS.ffs_appleufs.c+= -Wno-error=address-of-packed-member
.else
CPPFLAGS+= -DNO_APPLE_UFS
.endif
Index: src/distrib/utils/x_newfs/Makefile
diff -u src/distrib/utils/x_newfs/Makefile:1.2 src/distrib/utils/x_newfs/Makefile:1.3
--- src/distrib/utils/x_newfs/Makefile:1.2 Sat Apr 18 12:56:38 2020
+++ src/distrib/utils/x_newfs/Makefile Wed Jul 26 02:26:11 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2020/04/18 12:56:38 jdolecek Exp $
+# $NetBSD: Makefile,v 1.3 2023/07/26 02:26:11 rin Exp $
# Build a smaller newfs (i.e. for boot media).
# Support for Endian-Independent FFS and Apple UFS is dropped unless FFS_EI=1
# and APPLE_UFS=1 are added to CRUNCHENV, respectively.
@@ -17,6 +17,7 @@ CPPFLAGS+= -DNO_FFS_EI
.ifdef APPLE_UFS
SRCS+= ffs_appleufs.c
+COPTS.ffs_appleufs.c+= -Wno-error=address-of-packed-member
.else
CPPFLAGS+= -DNO_APPLE_UFS
.endif