diff options
author | florian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2012-08-24 21:18:06 +0000 |
---|---|---|
committer | florian <florian@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2012-08-24 21:18:06 +0000 |
commit | 3f52ad5cbf5309a8a7d31c9ce69727eb4055d58a (patch) | |
tree | 337e2c417f80675176167b1b4b0791d741077b5a /Makefile.fpc | |
parent | dde3be2ff325be5dd70f5909e9f5a1f6c9d35e1b (diff) | |
download | fpc-3f52ad5cbf5309a8a7d31c9ce69727eb4055d58a.tar.gz |
* Don't build utils by default when cross building. FPC's build system is not made
for building installation packages for another host system as the current one
so it makes no sense to build utils for the target system. When cross compiling, the
goal is to build files to be able to develop on the current system for the target.
Building of utils can be forced by passing BUILDFULLNATIVE=1 to make
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@22237 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'Makefile.fpc')
-rw-r--r-- | Makefile.fpc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.fpc b/Makefile.fpc index d9a161a048..2742234dd8 100644 --- a/Makefile.fpc +++ b/Makefile.fpc @@ -177,9 +177,11 @@ BuildOnlyBaseCPUs=jvm ifneq ($(wildcard utils),) NOUTILSTARGETS=embedded gba $(BuildOnlyBaseCPUs) ifeq ($(findstring $(OS_TARGET),$(NOUTILSTARGETS)),) +ifdef BUILDFULLNATIVE UTILS=1 endif endif +endif [rules] .NOTPARALLEL: |