Include <bsd.own.mk> before using ACTIVE_CC. Fixes make errors.

This commit is contained in:
riastradh 2018-11-15 04:57:00 +00:00
parent 5016a9c839
commit d810a3da5f

View File

@ -1,10 +1,12 @@
# $NetBSD: bsd.powerpc-booke.mk,v 1.3 2014/08/10 17:46:54 joerg Exp $
# $NetBSD: bsd.powerpc-booke.mk,v 1.4 2018/11/15 04:57:00 riastradh Exp $
.ifndef _BSD_POWERPC_BOOKE_MK_
_BSD_POWERPC_BOOKE_MK_=1
KMODULEARCHDIR:= powerpc-booke
.include <bsd.own.mk>
# gcc emits bad code with these options
#CPPFLAGS+= -mcpu=8548
CPPFLAGS+= ${${ACTIVE_CC} == "gcc":? -misel -Wa,-me500 :}