# HG changeset patch # User Antoine Bodin # Date 1301743953 -7200 # Node ID 6db800ff11fd08525f6e4bfa390d35c83314845c # Parent a7281c692adfde49fb9487cc78fd38abcc1cba59 tazwok, check_for_compile_rules: strip CFLAGS/CXXFLAGS to prevent configure failure in some cases diff -r a7281c692adf -r 6db800ff11fd tazwok --- a/tazwok Fri Mar 25 18:25:43 2011 +0100 +++ b/tazwok Sat Apr 02 13:32:33 2011 +0200 @@ -649,8 +649,9 @@ [ "$src" ] || set_src_path [ "$DESTDIR" ] || DESTDIR="$WOK/$PACKAGE/install" [ "$CONFIG_SITE" ] || CONFIG_SITE=/etc/config.site - export CFLAGS CXXFLAGS MAKEFLAGS DESTDIR BUILD_HOST \ - CONFIG_SITE default_prefix \ + export CFLAGS=$(echo "$CFLAGS" | tr -s ' ') \ + CXXFLAGS=$(echo "$CXXFLAGS" | tr -s ' ') \ + MAKEFLAGS DESTDIR BUILD_HOST CONFIG_SITE default_prefix \ default_datarootdir default_datadir default_localedir \ default_infodir default_mandir default_build default_host local LC_ALL=POSIX LANG=POSIX