summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndoni Morales <ylatuya@gmail.com>2014-01-17 18:24:55 +0100
committerAndoni Morales Alastruey <ylatuya@gmail.com>2014-01-30 12:31:56 +0100
commit048c563aacfc5f71d0e8036549cba42c1217e8fb (patch)
tree4a708e6b70b1caf80a706453223dd1f151d6cefc
parent5ccdf0f7592b013e36beb689eb240179986023af (diff)
x264: fix linux arm build
-rw-r--r--recipes/x264.recipe2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes/x264.recipe b/recipes/x264.recipe
index 041ee033..a36e4264 100644
--- a/recipes/x264.recipe
+++ b/recipes/x264.recipe
@@ -39,6 +39,8 @@ class Recipe(recipe.Recipe):
if self.config.target_arch in [Architecture.ARM, Architecture.ARMv7]:
self.new_env = {'AS': os.environ.get('GAS', '')}
self.new_env['AS'] += ' -no-integrated-as '
+ if self.config.target_platform == Platform.LINUX:
+ self.new_env = {'AS': os.environ['CC']}
def post_install(self):
libtool_la = LibtoolLibrary('x264', 125, None, None, self.config.libdir,