summaryrefslogtreecommitdiff
path: root/config/linux.config
diff options
context:
space:
mode:
authorAndoni Morales <ylatuya@gmail.com>2014-01-17 18:04:52 +0100
committerAndoni Morales Alastruey <ylatuya@gmail.com>2014-01-30 12:31:52 +0100
commit9d800d33ed8cf5e2ee6e090bad887d35145ca358 (patch)
tree85499b33d6d3849720d79910d48f2f58089d3cd6 /config/linux.config
parent8807ba20a6995f659c0ca54760e00984d9452382 (diff)
Add config file for linux arm cross-compilation
Diffstat (limited to 'config/linux.config')
-rw-r--r--config/linux.config2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/linux.config b/config/linux.config
index af74a2fb..de934457 100644
--- a/config/linux.config
+++ b/config/linux.config
@@ -18,6 +18,8 @@ elif target_arch == Architecture.X86_64:
arch_flags += ' -m64 '
_host = 'x86_64-linux-gnu'
if target_arch in [Architecture.ARM, Architecture.ARMv7]:
+ if target_arch == Architecture.ARMv7:
+ arch_flags += ' -march=armv7-a '
_host = 'arm-linux-gnueabi'
tools_prefix = 'arm-linux-gnueabi-'
os.environ['glib_cv_stack_grows'] = 'no'