Date: Wed, 7 Mar 2018 17:18:46 +0000 (UTC) From: Kyle Evans <kevans@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r330612 - head/stand/ficl Message-ID: <201803071718.w27HIkLe030721@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kevans Date: Wed Mar 7 17:18:46 2018 New Revision: 330612 URL: https://svnweb.freebsd.org/changeset/base/330612 Log: 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 Modified: head/stand/ficl/Makefile Modified: head/stand/ficl/Makefile ============================================================================== --- head/stand/ficl/Makefile Wed Mar 7 17:16:41 2018 (r330611) +++ head/stand/ficl/Makefile Wed Mar 7 17:18:46 2018 (r330612) @@ -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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803071718.w27HIkLe030721>