summaryrefslogtreecommitdiff
path: root/recipes/gnustl.recipe
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2015-01-28 14:03:06 +0100
committerEdward Hervey <bilboed@bilboed.com>2015-01-28 14:03:22 +0100
commit659f6ff1d213acdbe4bb2dcc80a8eb0a01e048c2 (patch)
tree92111abe8ed96bef2edcccfa4bf5d0f0d9646d45 /recipes/gnustl.recipe
parent256428a9a022198058b6725e5163e6508f5a738b (diff)
recipes/gnustl: Add support for X86_64 and AMD64
Diffstat (limited to 'recipes/gnustl.recipe')
-rw-r--r--recipes/gnustl.recipe4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes/gnustl.recipe b/recipes/gnustl.recipe
index d615fea8..a395ea81 100644
--- a/recipes/gnustl.recipe
+++ b/recipes/gnustl.recipe
@@ -30,8 +30,12 @@ class Recipe(recipe.Recipe):
'cxx-stl', 'gnu-libstdc++', self.config.toolchain_version)
if self.config.target_arch == Architecture.X86:
stl_libdir = os.path.join(stl_prefix, 'libs', 'x86')
+ if self.config.target_arch == Architecture.X86_64:
+ stl_libdir = os.path.join(stl_prefix, 'libs', 'x86_64')
elif self.config.target_arch == Architecture.ARMv7:
stl_libdir = os.path.join(stl_prefix, 'libs', 'armeabi-v7a')
+ elif self.config.target_arch == Architecture.ARM64:
+ stl_libdir = os.path.join(stl_prefix, 'libs', 'arm64-v8a')
else:
stl_libdir = os.path.join(stl_prefix, 'libs', 'armeabi')
libdir = os.path.join(self.config.prefix, 'lib')