Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=67be1cb9e861dc9048cc925fe456706f4377afa7
commit 67be1cb9e861dc9048cc925fe456706f4377afa7 Author: DeX77 <[email protected]> Date: Mon Jul 24 15:09:59 2017 +0200 * also set ASFLAGS diff --git a/source/include/cross32.sh b/source/include/cross32.sh index 338287c..bcfce2d 100644 --- a/source/include/cross32.sh +++ b/source/include/cross32.sh @@ -50,6 +50,7 @@ __cross32_save_orig_vars() { CHOST_ORIG="$CHOST" PKGCONFIG_ORIG="$PKG_CONFIG_PATH" PATH_ORIG="$PATH" + ASFLAGS_ORIG="$ASFLAGS" } @@ -70,6 +71,9 @@ __cross32_export_orig_vars() { unset CPPFLAGS ## reset PATH export PATH="$PATH_ORIG" + + ## reset ASFLAGS + export ASFLAGS="$ASFLAGS_ORIG" } @@ -99,6 +103,7 @@ __cross32_set_vars() { LDFLAGS+=" -L/usr/lib32" export CPPFLAGS=" -I/usr/${CHOST}/include" export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" + export ASFLAGS="--32" ## we share some tools like tools for building docs ## shell scripts and such .. for that matter we need _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
