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
This commit is contained in:
2
configure
vendored
2
configure
vendored
@ -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"
|
||||
|
||||
Reference in New Issue
Block a user