Module Name:    src
Committed By:   joerg
Date:           Tue Jul 17 18:58:10 UTC 2018

Modified Files:
        src/external/bsd/libc++/lib: Makefile

Log Message:
Ignore atomic alignment warnings on ARM. The compiler doesn't
know that the library implementation will be fine.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/external/bsd/libc++/lib/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/libc++/lib/Makefile
diff -u src/external/bsd/libc++/lib/Makefile:1.11 src/external/bsd/libc++/lib/Makefile:1.12
--- src/external/bsd/libc++/lib/Makefile:1.11	Wed Jun  6 12:02:43 2018
+++ src/external/bsd/libc++/lib/Makefile	Tue Jul 17 18:58:10 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.11 2018/06/06 12:02:43 kamil Exp $
+#	$NetBSD: Makefile,v 1.12 2018/07/17 18:58:10 joerg Exp $
 
 LIB=		c++
 WARNS=		4
@@ -48,4 +48,8 @@ CWARNFLAGS.clang+=	-Wno-error=implicit-e
 LDFLAGS+=	-Wl,-z,defs
 .endif
 
+.if !empty(MACHINE_ARCH:Marm*) || !empty(MACHINE_ARCH:Mearm*)
+CWARNFLAGS+=		-Wno-atomic-alignment
+.endif
+
 .include <bsd.lib.mk>

Reply via email to