summaryrefslogtreecommitdiff
path: root/morphlib/builder.py
diff options
context:
space:
mode:
authorJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-03-26 16:24:07 +0000
committerJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-03-26 16:24:07 +0000
commit90f3f2f708c5a2407f94d01344aa8c8b4644060d (patch)
treecc4b3d9960da004f57ff9fe37cb35a33794bfa80 /morphlib/builder.py
parent712ac2bcd856c864e34c337fc23fe86216a88049 (diff)
downloadmorph-90f3f2f708c5a2407f94d01344aa8c8b4644060d.tar.gz
Add --target-cflags option; set arch/fp in baserock-bootstrap on ARM.
The --target-cflags option is really just a temporary solution. At some point we will want to have a proper target architecture/device description that morph uses to define compiler flags etc. For now, I hope this will do.
Diffstat (limited to 'morphlib/builder.py')
-rw-r--r--morphlib/builder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/builder.py b/morphlib/builder.py
index 2463108e..cbf4b299 100644
--- a/morphlib/builder.py
+++ b/morphlib/builder.py
@@ -562,7 +562,7 @@ class Builder(object): # pragma: no cover
self.indent = 0
# create build environment string in advance
env_names = ("USER", "USERNAME", "LOGNAME",
- "TOOLCHAIN_TARGET", "PREFIX", "BOOTSTRAP")
+ "TOOLCHAIN_TARGET", "PREFIX", "BOOTSTRAP", "CFLAGS")
env = app.clean_env()
self.build_env = ''.join(k + env[k] for k in env_names)