Diff

Differences From Artifact [6b42e787ea]:

To Artifact [5242f6143a]:


   242    242   
   243    243   	if ! echo " ${require[*]} " | grep ' linux-headers[/@: ]' >/dev/null; then
   244    244   		CC="${CC} -isystem ${linuxheadersdir}/include"
   245    245   	fi
   246    246   
   247    247   	BUILD_CC="${CC}"
   248    248   	HOST_CC="${CC}"
          249  +
   249    250   	LDFLAGS="${LDFLAGS} -L${glibcdir}/lib -Wl,--rpath,${glibcdir}/lib -Wl,--dynamic-linker,${dynlinker}"
          251  +	if [ -z "${appfs_build_no_default_symver}" ]; then
          252  +		LDFLAGS="${LDFLAGS} -Wl,--default-symver"
          253  +	fi
          254  +
   250    255   	PKG_CONFIG_LIBDIR="${glibcdir}/lib/pkgconfig"
          256  +
   251    257   	export CC BUILD_CC HOST_CC LDFLAGS PKG_CONFIG_LIBDIR
   252    258   }
   253    259   
   254    260   function configure() {
   255    261   	configure_gcc
   256    262   	./configure --prefix="${prefix}" --sysconfdir="${prefix}/etc" --libdir="${prefix}/lib" --localstatedir=/var "${configure_extra[@]}"
   257    263   }