From 07500d5f0924c6366a9b45d3a51621117361f900 Mon Sep 17 00:00:00 2001 From: Joakim Hove Date: Wed, 26 Jan 2022 12:20:43 +0100 Subject: [PATCH] Set the CC environment variable also for non ccache situation --- python/setup.py.in | 1 + 1 file changed, 1 insertion(+) diff --git a/python/setup.py.in b/python/setup.py.in index 397b12f44..fc11b6feb 100644 --- a/python/setup.py.in +++ b/python/setup.py.in @@ -25,6 +25,7 @@ try: os.environ['CC'] = 'ccache {}'.format(cc) print("Using 'ccache {}' as compiler".format(cc)) except OSError as e: + os.environ['CC'] = cc print('\nNOTE: please install ccache for faster compilation of python bindings.\n') # This is very hacky but so is the entire setup.py buildsystem.