From 048c563aacfc5f71d0e8036549cba42c1217e8fb Mon Sep 17 00:00:00 2001 From: Andoni Morales Date: Fri, 17 Jan 2014 18:24:55 +0100 Subject: x264: fix linux arm build --- recipes/x264.recipe | 2 ++ 1 file changed, 2 insertions(+) (limited to 'recipes') 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, -- cgit v1.2.3