svn commit: r331250 - stable/11/stand/ficl
Kyle Evans
kevans at FreeBSD.org
Tue Mar 20 17:39:51 UTC 2018
Author: kevans
Date: Tue Mar 20 17:39:50 2018
New Revision: 331250
URL: https://svnweb.freebsd.org/changeset/base/331250
Log:
MFC r330612: 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.
Modified:
stable/11/stand/ficl/Makefile
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/stand/ficl/Makefile
==============================================================================
--- stable/11/stand/ficl/Makefile Tue Mar 20 17:27:00 2018 (r331249)
+++ stable/11/stand/ficl/Makefile Tue Mar 20 17:39:50 2018 (r331250)
@@ -14,7 +14,8 @@ CLEANFILES+= softcore.c testmain testmain.o
.include <bsd.stand.mk>
.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>
More information about the svn-src-stable-11
mailing list