Move some definitions from CFLAGS to CPPFLAGS so that SRT0.S can
include <m68k/asm.h> properly.
This commit is contained in:
parent
8343611e9c
commit
34c8c3e9fe
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.booters,v 1.13 2005/12/11 12:18:19 christos Exp $
|
||||
# $NetBSD: Makefile.booters,v 1.14 2005/12/24 22:22:33 tsutsui Exp $
|
||||
|
||||
S?= ${.CURDIR}/../../../..
|
||||
MDEC_DIR?= /usr/mdec
|
||||
|
@ -7,7 +7,6 @@ COPTS?= -O2 -Wall -Wno-main -Wmissing-prototypes -Wstrict-prototypes \
|
|||
-ffreestanding
|
||||
DEFS?=
|
||||
STRIPFLAG?=
|
||||
CPPFLAGS+= -D__daddr_t=int32_t
|
||||
|
||||
NOMAN= # defined
|
||||
NOMAN= # defined
|
||||
|
@ -19,8 +18,10 @@ NOLINT=# defined
|
|||
|
||||
INCPATH=-I${.OBJDIR} -I${.CURDIR} -I${.CURDIR}/../libsa -I${.CURDIR}/../libbug \
|
||||
-I${.CURDIR}/../../include -I${S} -I${S}/lib/libsa
|
||||
CFLAGS= -nostdinc -m68020-60 -Wa,-m68030 -D_STANDALONE \
|
||||
-DLIBSA_USE_MEMSET -DLIBSA_USE_MEMCPY ${INCPATH} ${DEFS}
|
||||
CFLAGS= -nostdinc -m68020-60 -Wa,-m68030
|
||||
CPPFLAGS+= -D__daddr_t=int32_t
|
||||
CPPFLAGS+= -D_STANDALONE -DLIBSA_USE_MEMSET -DLIBSA_USE_MEMCPY
|
||||
CPPFLAGS+= ${INCPATH} ${DEFS}
|
||||
BINDIR= ${MDEC_DIR}
|
||||
|
||||
.if exists(${.CURDIR}/version)
|
||||
|
|
Loading…
Reference in New Issue