sed -i 's#strchr#(char*)strchr#' lib/paco/BasePkg.cc export -p CFLAGS='-march=i686 -mtune=generic -O2 -pipe' export -p CPPFLAGS='-march=i686 -mtune=generic -O2 -pipe' export -p CXXFLAGS='-march=i686 -mtune=generic -O2 -pipe' export -p CARCH="i686" export -p CHOST="i686-pc-linux-gnu" ./configure --disable-gpaco --enable-scripts --build=i686 --with-arch=i686 -q make clean ./configure --disable-gpaco --enable-scripts -q make make install paco -lD make install