]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
distutils-common-base.bbclass: Define commonly used compiler variables
authorKhem Raj <raj.khem@gmail.com>
Tue, 28 Aug 2018 17:50:37 +0000 (10:50 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 30 Aug 2018 15:16:06 +0000 (16:16 +0100)
commitfaa944e77c43c09650740058c82e6e1b9d33e9b2
treea128d101402241e46c6e8ad811108ad344625ef0
parentf3499c57f1cbae0052c50ee2e2c6ee045d60a050
distutils-common-base.bbclass: Define commonly used compiler variables

This is inspired from
https://github.com/python/cpython/blob/master/configure.ac

Helps cross compiling python C modules in some cases where they do
not respect normal CFLAGS

Errors like using gcc to link when compiler is clang is fixed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/distutils-common-base.bbclass