diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-07-29 10:10:35 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-07-29 16:04:38 +0200 |
commit | 0eae20b7be89bc76225a15c7238ff0c809259ac3 (patch) | |
tree | 9f27703598adfc8ae1ced34c1c741214a69c2c54 /toolchain/gcc | |
parent | d2e5763e529e4ed387e30854f80e801273ecdbaf (diff) | |
download | buildroot-novena-0eae20b7be89bc76225a15c7238ff0c809259ac3.tar.gz buildroot-novena-0eae20b7be89bc76225a15c7238ff0c809259ac3.zip |
cdrkit: fix TARGET_CC/TARGET_CFLAGS for CMake
Since the reorganization of the variables in package/Makefile.in,
TARGET_CC and TARGET_CXX now directly contain the --sysroot= option in
addition to the compiler path. This is due to some ./configure scripts
using just $(TARGET_CC) for some tests instead of $(TARGET_CC)
$(TARGET_CFLAGS).
However, in the case of CMake, this fails as CMake really only wants
the path of the compiler in its CMAKE_C_COMPILER and
CMAKE_CXX_COMPILER variables. So here, we recompute proper values for
CMake by removing the --sysroot option from the compiler variables and
re-adding it to the flags variables.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'toolchain/gcc')
0 files changed, 0 insertions, 0 deletions