Created originally on Bitbucket by squeaky
Was already merged in Bitbucket before import, marked as merged by the import user
Source changeset not longer availableat the time of import. Commit listwill look empty
Revert to original idea for dealing with CPPFLAGS and LDFLAGS.
overriding in compiler.set_executables caused setuptools monkeypatching of distutils to stop working properly. Namely on OSX and clang some linker flags that setuptools inserts were not passed resulting in disfunctional distutils :-(
Thanks Stefan__ for reporting.