Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/utils x_fsck_ffs, x_newfs: XXX: Sprinkle -Wno-error=...



details:   https://anonhg.NetBSD.org/src/rev/c365aebf5e30
branches:  trunk
changeset: 378193:c365aebf5e30
user:      rin <rin%NetBSD.org@localhost>
date:      Wed Jul 26 02:26:11 2023 +0000

description:
x_fsck_ffs, x_newfs: XXX: Sprinkle -Wno-error=address-of-packed-member
for GCC/powerpc 10.5.0 with -Os.

diffstat:

 distrib/utils/x_fsck_ffs/Makefile |  3 ++-
 distrib/utils/x_newfs/Makefile    |  3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 75ff3979067f -r c365aebf5e30 distrib/utils/x_fsck_ffs/Makefile
--- a/distrib/utils/x_fsck_ffs/Makefile Wed Jul 26 00:19:04 2023 +0000
+++ b/distrib/utils/x_fsck_ffs/Makefile Wed Jul 26 02:26:11 2023 +0000
@@ -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
diff -r 75ff3979067f -r c365aebf5e30 distrib/utils/x_newfs/Makefile
--- a/distrib/utils/x_newfs/Makefile    Wed Jul 26 00:19:04 2023 +0000
+++ b/distrib/utils/x_newfs/Makefile    Wed Jul 26 02:26:11 2023 +0000
@@ -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



Home | Main Index | Thread Index | Old Index