Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=multilib.git;a=commitdiff;h=bb42cac47c5cc39a08196129362419020ce4ed16

commit bb42cac47c5cc39a08196129362419020ce4ed16
Author: crazy <[email protected]>
Date:   Fri Oct 21 18:44:52 2016 +0200

Revert "use separate build source folders for 32/64bit"
This reverts commit d481e6bdd5681f895a0ab306e48f342f0cbdcbe9.
* broken , I'll fix when I'm home

diff --git a/source/include/cross32.sh b/source/include/cross32.sh
index 929f58c..57f6304 100644
--- a/source/include/cross32.sh
+++ b/source/include/cross32.sh
@@ -26,7 +26,6 @@ __cross32_save_orig_vars() {
LDFLAGS_ORIG="$LDFLAGS"
CHOST_ORIG="$CHOST"
PKGCONFIG_ORIG="$PKG_CONFIG_PATH"
-       FCD_PATH_ORIG="$_F_cd_path"
}


@@ -46,7 +45,6 @@ __cross32_export_orig_vars() {
## reset CPP
unset CPPFLAGS
## reset options to default
-       export _F_cd_path="$FCD_PATH_ORIG"
Fconfopts=""
}

@@ -60,7 +58,7 @@ __cross32_unset_vars() {
unset CMAKE_LIB CMAKE_BIN CMAKE_SBIN

## util.sh
-       unset Fbuildchost _F_cd_path
+       unset Fbuildchost
}


@@ -84,7 +82,6 @@ __cross32_set_vars() {

## util.sh
export Fbuildchost="${CHOST}"
-       export _F_cd_path="lib32-$FCD_PATH_ORIG"

if [ -z "$_F_conf_configure" ]; then
_F_conf_configure="./configure"
@@ -142,7 +139,6 @@ __cross32_bug_me_set() {
msg2 "CXX to $CXX"
msg2 "CPPFLAGS to $CPPFLAGS"
msg2 "PKG_CONFIG_PATH to $PKG_CONFIG_PATH"
-       msg2 "_F_cd_path to $_F_cd_path"
}

__cross32_bug_me_reset() {
@@ -154,7 +150,6 @@ __cross32_bug_me_reset() {
msg2 "CHOST to $CHOST"
msg2 "CC to $CC"
msg2 "CXX to $CXX"
-       msg2 "_F_cd_path to $_F_cd_path"
}

Fcross32_prepare() {
@@ -186,8 +181,8 @@ Fcross32_delete_empty() {

__cross32_common_build() {
Fcross32_prepare
-       cp -Ra "$Fsrcdir/$FCD_PATH_ORIG" "$Fsrcdir/lib32-$FCD_PATH_ORIG"
Fbuild
+       make distclean ## FIXME.. maybe copy source ?
Fcross32_reset_and_fix
}
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to