blob: a6bea73ce8a11fe44e16410ab48595aa10864893 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# $NetBSD: hacks.mk,v 1.2 2019/11/02 21:09:13 rillig Exp $
#
.if !defined(CELT_HACKS_MK)
CELT_HACKS_MK= # empty
.include "../../mk/compiler.mk"
###
### XXX Remove this if unneeded in the future.
###
.if !empty(CC_VERSION:Mgcc-[34]*)
CFLAGS+= -fno-strict-aliasing
PKG_HACKS+= no-strict-aliasing
.endif
.endif
|