When the configure script finds no tinfo headers in the buildroot, it searches for them on the host's rootfs and when found there, it marks tinfo as present even when there's no compatible library installed for the target architecture. That causes the build to fail during cross-compiling. The above switch explicitly says we don't want tinfo.
		
			
				
	
	
		
			13 lines
		
	
	
		
			393 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			393 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| srpm util-linux
 | |
| mcd $BUILDDIR/$1
 | |
| cat <<EOF > config.cache
 | |
| ax_cv_have_tls=yes
 | |
| scanf_cv_alloc_modifier=ms
 | |
| EOF
 | |
| $SRC/${1}-*/configure $TCONFIGARGS --without-ncurses --without-tinfo \
 | |
|    --prefix=/usr --libexecdir=/usr/lib${SUFFIX} --libdir=/usr/lib${SUFFIX} \
 | |
|    --disable-wall --cache-file=config.cache --without-python --without-systemd
 | |
| notparallel
 | |
| make $J V=1
 | |
| make $J install DESTDIR=${ROOTFS}
 |