diff options
| author | seyko <seyko2@gmail.com> | 2015-03-21 07:16:33 +0300 |
|---|---|---|
| committer | seyko <seyko2@gmail.com> | 2015-03-21 07:16:33 +0300 |
| commit | b5d25654d8316601f0bb109069a9f00b404c5673 (patch) | |
| tree | 688006d41d4225059f9ff6c656abd8fbaedb06db /configure | |
| parent | 63d068d3f208ca4c5762cf87066d8b43e8fc5823 (diff) | |
| download | tinycc-b5d25654d8316601f0bb109069a9f00b404c5673.tar.gz tinycc-b5d25654d8316601f0bb109069a9f00b404c5673.tar.bz2 | |
configure: don't output CONFIG_LDDIR when build_cross = "yes"
This fixes i386-tcc on CentOS 7. After patch
[root@centos7 tinycc]# ./i386-tcc -vv
tcc version 0.9.26 (i386, Linux)
install: /usr/local/lib/tcc
crt:
/usr/lib
libraries:
/usr/lib
/lib
/usr/local/lib
Before patch:
[root@centos7 tinycc]# ./i386-tcc -vv
tcc version 0.9.26 (i386, Linux)
install: /usr/local/lib/tcc
crt:
/usr/lib64
libraries:
/usr/lib64
/lib64
/usr/local/lib64
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -463,7 +463,9 @@ echo "/* Automatically generated by configure - do not modify */" > $TMPH print_inc CONFIG_SYSROOT "$sysroot" print_inc CONFIG_TCCDIR "$tccdir" +if test "$build_cross" = "no"; then print_inc CONFIG_LDDIR "$tcc_lddir" +fi print_mak CONFIG_TCC_SYSINCLUDEPATHS "$tcc_sysincludepaths" print_mak CONFIG_TCC_LIBPATHS "$tcc_libpaths" print_mak CONFIG_TCC_CRTPREFIX "$tcc_crtprefix" |
