diff options
author | tom_at_work <tom_at_work@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2012-09-15 23:41:44 +0000 |
---|---|---|
committer | tom_at_work <tom_at_work@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2012-09-15 23:41:44 +0000 |
commit | 5e944c6a04675023d3518435cd2cc35aaaabaef5 (patch) | |
tree | 50468271d89d84152c05733544152cad7e77faee /packages/mad/Makefile.fpc | |
parent | d51c0650c1c7629e1178c778b0b03ce0617da51c (diff) | |
download | fpc-5e944c6a04675023d3518435cd2cc35aaaabaef5.tar.gz |
Pass OPT to compilation of fpmake.
Solves issues with systems that e.g. require special options for compilation of programs (e.g. libc programs to find libc startup code) or the actual build has been compiled with options that are incompatible with default ones.
Tested changes by building an i386-linux local build and i386-linux->arm-linux cross-builds
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@22397 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'packages/mad/Makefile.fpc')
-rw-r--r-- | packages/mad/Makefile.fpc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/mad/Makefile.fpc b/packages/mad/Makefile.fpc index f40080c253..4ee8fdd77e 100644 --- a/packages/mad/Makefile.fpc +++ b/packages/mad/Makefile.fpc @@ -29,7 +29,7 @@ LOCALFPMAKE=.$(PATHSEP)fpmake$(SRCEXEEXT) .NOTPARALLEL: fpmake: fpmake.pp - $(FPCFPMAKE) fpmake.pp $(FPMAKE_SKIP_CONFIG) $(addprefix -Fu,$(COMPILER_FPMAKE_UNITDIR)) $(FPCMAKEOPT) + $(FPCFPMAKE) fpmake.pp $(FPMAKE_SKIP_CONFIG) $(addprefix -Fu,$(COMPILER_FPMAKE_UNITDIR)) $(FPCMAKEOPT) $(OPT) all: fpmake $(LOCALFPMAKE) compile --localunitdir=../.. --globalunitdir=.. $(FPC_TARGETOPT) $(addprefix -o ,$(FPCOPT)) --compiler=$(FPC) -bu smart: fpmake |