Source-Changes-HG archive

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

[src/trunk]: src/external/mit/xorg/server/drivers use GCC_NO_ADDR_OF_PACKED_M...



details:   https://anonhg.NetBSD.org/src/rev/5cc0451b5d97
branches:  trunk
changeset: 943596:5cc0451b5d97
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Sep 07 00:24:37 2020 +0000

description:
use GCC_NO_ADDR_OF_PACKED_MEMBER.

diffstat:

 external/mit/xorg/server/drivers/xf86-video-intel/Makefile  |  3 ++-
 external/mit/xorg/server/drivers/xf86-video-vmware/Makefile |  4 +++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r 3673bc5fe7bb -r 5cc0451b5d97 external/mit/xorg/server/drivers/xf86-video-intel/Makefile
--- a/external/mit/xorg/server/drivers/xf86-video-intel/Makefile        Mon Sep 07 00:24:17 2020 +0000
+++ b/external/mit/xorg/server/drivers/xf86-video-intel/Makefile        Mon Sep 07 00:24:37 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.32 2019/05/10 06:25:58 mrg Exp $
+#      $NetBSD: Makefile,v 1.33 2020/09/07 00:24:37 mrg Exp $
 
 .include <bsd.own.mk>
 
@@ -227,5 +227,6 @@
 COPTS.sna_trapezoids_precise.c+=       -Wno-stack-protector
 COPTS.i965_video.c+=   -Wno-stack-protector
 
+COPTS.sna_damage.c+=           ${GCC_NO_ADDR_OF_PACKED_MEMBER}
 COPTS.sna_display.c+=          -Wno-error      # XXX deprecated
 COPTS.intel_driver.c+=         -Wno-error      # XXX deprecated
diff -r 3673bc5fe7bb -r 5cc0451b5d97 external/mit/xorg/server/drivers/xf86-video-vmware/Makefile
--- a/external/mit/xorg/server/drivers/xf86-video-vmware/Makefile       Mon Sep 07 00:24:17 2020 +0000
+++ b/external/mit/xorg/server/drivers/xf86-video-vmware/Makefile       Mon Sep 07 00:24:37 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.13 2018/12/31 12:13:50 mrg Exp $
+#      $NetBSD: Makefile,v 1.14 2020/09/07 00:24:37 mrg Exp $
 
 DRIVER=                xf86-video-vmware
 DRIVER_NAME=   vmware_drv
@@ -25,3 +25,5 @@
 COPTS.vmwaremodes.c+=  -Wno-error
 
 .include "../Makefile.xf86-driver"
+
+CWARNFLAGS.gcc+=       ${GCC_NO_ADDR_OF_PACKED_MEMBER}



Home | Main Index | Thread Index | Old Index