We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f8fe9c commit 3e3bc32Copy full SHA for 3e3bc32
pythonforandroid/toolchain.py
@@ -374,6 +374,10 @@ def get_env(self):
374
toolchain_prefix=toolchain_prefix,
375
cxxflags=env['CXXFLAGS'])
376
377
+ if self.ctx.ccache:
378
+ env["CC"] = "{} {}".format(self.ctx.ccache, env["CC"])
379
+ env["CXX"] = "{} {}".format(self.ctx.ccache, env["CXX"])
380
+
381
env['AR'] = '{}-ar'.format(toolchain_prefix)
382
env['RANLIB'] = '{}-ranlib'.format(toolchain_prefix)
383
env['LD'] = '{}-ld'.format(toolchain_prefix)
0 commit comments