tazwok rev 469

tazwok, check_for_compile_rules: strip CFLAGS/CXXFLAGS to prevent configure failure in some cases
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Apr 02 13:32:33 2011 +0200 (2011-04-02)
parents a7281c692adf
children d84477f0aaaa
files tazwok
line diff
     1.1 --- a/tazwok	Fri Mar 25 18:25:43 2011 +0100
     1.2 +++ b/tazwok	Sat Apr 02 13:32:33 2011 +0200
     1.3 @@ -649,8 +649,9 @@
     1.4  		[ "$src" ] || set_src_path
     1.5  		[ "$DESTDIR" ] || DESTDIR="$WOK/$PACKAGE/install"
     1.6  		[ "$CONFIG_SITE" ] || CONFIG_SITE=/etc/config.site
     1.7 -		export CFLAGS CXXFLAGS MAKEFLAGS DESTDIR BUILD_HOST \
     1.8 -			CONFIG_SITE default_prefix \
     1.9 +		export CFLAGS=$(echo "$CFLAGS" | tr -s ' ') \
    1.10 +			CXXFLAGS=$(echo "$CXXFLAGS" | tr -s ' ') \
    1.11 +			MAKEFLAGS DESTDIR BUILD_HOST CONFIG_SITE default_prefix \
    1.12  			default_datarootdir default_datadir default_localedir \
    1.13  			default_infodir default_mandir default_build default_host
    1.14  		local LC_ALL=POSIX LANG=POSIX