Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Mar 2018 17:39:50 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r331250 - stable/11/stand/ficl
Message-ID:  <201803201739.w2KHdoYC050734@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803201739.w2KHdoYC050734>