From 790f658e4b10a030b3d5126bb7045f3e0c3141ea Mon Sep 17 00:00:00 2001 From: joost Date: Wed, 12 Aug 2015 19:15:14 +0000 Subject: * Filter the Makefile's unit searchpaths from the fpmake command line. To void cluttering the .fpm file git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@31317 3ad0048d-3df7-0310-abae-a5850022a9f2 --- packages/uuid/Makefile.fpc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'packages/uuid') diff --git a/packages/uuid/Makefile.fpc b/packages/uuid/Makefile.fpc index 7cfa79c8ac..701c6b39fe 100644 --- a/packages/uuid/Makefile.fpc +++ b/packages/uuid/Makefile.fpc @@ -26,9 +26,11 @@ endif LOCALFPMAKE=./fpmake$(SRCEXEEXT) [rules] -# Do not pass the Makefile's unit and binary target locations. fpmake uses it's own. +# Do not pass the Makefile's unit and binary target locations. Fpmake uses it's own. override FPCOPT:=$(filter-out -FU%,$(FPCOPT)) override FPCOPT:=$(filter-out -FE%,$(FPCOPT)) +# Do not pass the package-unitdirectories. Fpmake adds those and this way they don't apear in the .fpm +override FPCOPT:=$(filter-out $(addprefix -Fu,$(COMPILER_UNITDIR)),$(FPCOPT))# Compose general fpmake-parameters # Compose general fpmake-parameters ifdef FPMAKEOPT FPMAKE_OPT+=$(FPMAKEOPT) -- cgit v1.2.1