diff options
author | Carlos Santos <casantos@datacom.ind.br> | 2016-08-18 21:07:03 -0300 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-02-06 22:20:21 -0800 |
commit | 755de234cb50aa786e7e6821e14d611775650cb6 (patch) | |
tree | 37b06b4bd90b6e6008b413e0e9c05fe1f9d78a7a /patches/glibc | |
parent | 18775775e53f669aef56811517b7547f6cd910ea (diff) | |
download | crosstool-ng-755de234cb50aa786e7e6821e14d611775650cb6.tar.gz crosstool-ng-755de234cb50aa786e7e6821e14d611775650cb6.tar.bz2 crosstool-ng-755de234cb50aa786e7e6821e14d611775650cb6.zip |
elf2flt: use CT_ARCH to set target CPU, not CT_TARGET
CT_TARGET is composed as "${CT_ARCH}${CT_ARCH_SUFFIX}", so CT_TARGET may
become something like "armv7", for example. This is used by the configure
script to set the "CPU" variable in the Makefile, leading to a commad line
containing
-DTARGET_armv7 -DTARGET_CPU="armv7"
In this case the compilation of elf2flt.c fails with "Don't know how to
support your CPU architecture??". Passsing "CPU=${CT_ARCH}" in the make
command line overrides the configured value and solves the problem.
Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Diffstat (limited to 'patches/glibc')
0 files changed, 0 insertions, 0 deletions