Source-Changes-HG archive

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

[src/trunk]: src/sys/lib/libsa oops, move GCC_NO_ADDR_OF_PACKED_MEMBER into t...



details:   https://anonhg.NetBSD.org/src/rev/eb6cf4579b82
branches:  trunk
changeset: 938368:eb6cf4579b82
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Sep 07 01:54:26 2020 +0000

description:
oops, move GCC_NO_ADDR_OF_PACKED_MEMBER into the right header.

diffstat:

 sys/lib/libsa/Makefile     |  4 +---
 sys/lib/libsa/Makefile.inc |  3 ++-
 2 files changed, 3 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r 5049326ab705 -r eb6cf4579b82 sys/lib/libsa/Makefile
--- a/sys/lib/libsa/Makefile    Mon Sep 07 01:35:25 2020 +0000
+++ b/sys/lib/libsa/Makefile    Mon Sep 07 01:54:26 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.92 2020/09/07 00:32:49 mrg Exp $
+#      $NetBSD: Makefile,v 1.93 2020/09/07 01:54:26 mrg Exp $
 
 LIB=   sa
 LIBISPRIVATE?= yes
@@ -100,5 +100,3 @@
 .if defined(HAVE_GCC) && ${MACHINE_ARCH} == "vax"
 COPTS.bootp.c+=        -O0
 .endif
-
-CWARNFLAGS.gcc+=       ${GCC_NO_ADDR_OF_PACKED_MEMBER}
diff -r 5049326ab705 -r eb6cf4579b82 sys/lib/libsa/Makefile.inc
--- a/sys/lib/libsa/Makefile.inc        Mon Sep 07 01:35:25 2020 +0000
+++ b/sys/lib/libsa/Makefile.inc        Mon Sep 07 01:54:26 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.24 2018/05/27 01:14:51 christos Exp $
+#      $NetBSD: Makefile.inc,v 1.25 2020/09/07 01:54:26 mrg Exp $
 #
 #      Configuration variables (default values are below):
 #
@@ -22,6 +22,7 @@
 SADOTDIR?= ../../.
 
 CWARNFLAGS.clang+=     -Wno-format-extra-args
+CWARNFLAGS.gcc+=       ${GCC_NO_ADDR_OF_PACKED_MEMBER}
 
 SADIR=         ${S:S@^.@${SADOTDIR}@:q}/lib/libsa
 .if (${SA_AS} == "obj")



Home | Main Index | Thread Index | Old Index