diff options
author | joost <joost@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2015-08-12 19:15:14 +0000 |
---|---|---|
committer | joost <joost@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2015-08-12 19:15:14 +0000 |
commit | 790f658e4b10a030b3d5126bb7045f3e0c3141ea (patch) | |
tree | 780c72509bfbfc9da4ec4dbe0551d433075b9e37 /packages/fcl-sound | |
parent | 354fb50e4b9313a8fa7b9442ccc9481ef8bdb1b6 (diff) | |
download | fpc-790f658e4b10a030b3d5126bb7045f3e0c3141ea.tar.gz |
* 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
Diffstat (limited to 'packages/fcl-sound')
-rw-r--r-- | packages/fcl-sound/Makefile.fpc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/fcl-sound/Makefile.fpc b/packages/fcl-sound/Makefile.fpc index f4a6566af2..8e4ea9c603 100644 --- a/packages/fcl-sound/Makefile.fpc +++ b/packages/fcl-sound/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) |