From 82a53013bd11cf8306c9e9a010cee269a076f93d Mon Sep 17 00:00:00 2001 From: Matt Mullins Date: Sat, 20 Aug 2016 15:00:05 -0700 Subject: [PATCH] customize_compiler is recommended by distutils doc On Unix platforms, environment variables such as CFLAGS, LDFLAGS are not honored if this is not called. --- buildutils/misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildutils/misc.py b/buildutils/misc.py index 72d01b7..5721ac1 100644 --- a/buildutils/misc.py +++ b/buildutils/misc.py @@ -35,7 +35,7 @@ def get_compiler(compiler, **compiler_attrs): """get and customize a compiler""" if compiler is None or isinstance(compiler, str): cc = ccompiler.new_compiler(compiler=compiler) - # customize_compiler(cc) + customize_compiler(cc) if cc.compiler_type == 'mingw32': customize_mingw(cc) else: