Ignore atomic alignment warnings on ARM. The compiler doesn't
know that the library implementation will be fine.
This commit is contained in:
parent
2eb8474eb5
commit
90dc754a9d
|
@ -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-exception-spec-mismatch
|
|||
LDFLAGS+= -Wl,-z,defs
|
||||
.endif
|
||||
|
||||
.if !empty(MACHINE_ARCH:Marm*) || !empty(MACHINE_ARCH:Mearm*)
|
||||
CWARNFLAGS+= -Wno-atomic-alignment
|
||||
.endif
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
|
Loading…
Reference in New Issue