stand/ficl: Fix testmain
testmain is a userland application intended to be built with standard headers and whatnot, which we broke. Fix it by having the testmain build clobber cflags, reducing it to just the set of defines/includes it needs to build. Discussed with: imp MFC after: 3 days
This commit is contained in:
parent
f9edb09d70
commit
14a2bd52f7
@ -13,7 +13,8 @@ SRCS= ${BASE_SRCS} sysdep.c softcore.c
|
||||
CLEANFILES+= softcore.c testmain testmain.o
|
||||
|
||||
.ifmake testmain
|
||||
CFLAGS+= -DTESTMAIN -D_TESTMAIN
|
||||
CFLAGS= -DTESTMAIN -D_TESTMAIN
|
||||
CFLAGS+= -I${FICLSRC} -I${FICLSRC}/${FICL_CPUARCH} -I${LDRSRC}
|
||||
SRCS+= testmain.c
|
||||
PROG= testmain
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user