diff options
author | Kyle Evans <kevans@FreeBSD.org> | 2018-03-07 17:18:46 +0000 |
---|---|---|
committer | Kyle Evans <kevans@FreeBSD.org> | 2018-03-07 17:18:46 +0000 |
commit | 14a2bd52f7d1f93cfde49bc80ba28a406180334b (patch) | |
tree | 2d7a6d392fb5a8632dd68962bdf1be3654e5c04d /stand/ficl/Makefile | |
parent | f9edb09d70e422a1a0e7a931e32f2a0366e91b39 (diff) | |
download | src-14a2bd52f7d1f93cfde49bc80ba28a406180334b.tar.gz src-14a2bd52f7d1f93cfde49bc80ba28a406180334b.zip |
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
Notes
Notes:
svn path=/head/; revision=330612
Diffstat (limited to 'stand/ficl/Makefile')
-rw-r--r-- | stand/ficl/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/stand/ficl/Makefile b/stand/ficl/Makefile index 13e0a10de1fc..35730851d884 100644 --- a/stand/ficl/Makefile +++ b/stand/ficl/Makefile @@ -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> |