Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=multilib.git;a=commitdiff;h=68f0acfd2f102b1014d50b36c90c1ae3e4ba9274
commit 68f0acfd2f102b1014d50b36c90c1ae3e4ba9274 Author: crazy <[email protected]> Date: Fri Jan 26 03:28:54 2018 +0100 cross32.sh: get C/CXX flags from ORIG ones * we now have a lot xxxFLAGS set from makepkg based on options=() and since the only difference is s/-march=x86-64/-march=i686/ , just do so from ORIG flags. diff --git a/source/include/cross32.sh b/source/include/cross32.sh index bd8c388..5e1b618 100644 --- a/source/include/cross32.sh +++ b/source/include/cross32.sh @@ -101,8 +101,8 @@ __cross32_unset_vars() { __cross32_set_vars() { ## common - export CFLAGS="-march=i686 -mtune=generic -O2 -pipe" - export CXXFLAGS="-march=i686 -mtune=generic -O2 -pipe" + export CFLAGS="${CFLAGS_ORIG/x86-64/i686}" + export CXXFLAGS="${CXXLAGS_ORIG/x86-64/i686}" export CHOST="i686-frugalware-linux" export CC="gcc -m32" export CXX="g++ -m32" _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
