summaryrefslogtreecommitdiff
path: root/netware
diff options
context:
space:
mode:
authormsvensson@neptunus.(none) <>2006-10-24 11:16:53 +0200
committermsvensson@neptunus.(none) <>2006-10-24 11:16:53 +0200
commit6b920ebd84b167984cb765e1953a73fc9dd305ee (patch)
tree57d5c62b20168f57a7f2174e2f74b71d4a42bf29 /netware
parent25abce028e638ba9c8a03e14e9ffe230c5b8db2a (diff)
downloadmariadb-git-6b920ebd84b167984cb765e1953a73fc9dd305ee.tar.gz
Temporary fixes for building from source dist in pushbuild
Diffstat (limited to 'netware')
-rwxr-xr-xnetware/BUILD/compile-netware-END9
-rwxr-xr-xnetware/BUILD/mwenv6
2 files changed, 13 insertions, 2 deletions
diff --git a/netware/BUILD/compile-netware-END b/netware/BUILD/compile-netware-END
index a8d829499bd..6c531ab5c7c 100755
--- a/netware/BUILD/compile-netware-END
+++ b/netware/BUILD/compile-netware-END
@@ -18,8 +18,13 @@ rm -rf Makefile.in.bk
# Setup Metrowerks environment
. $path/mwenv
-# Run autotools(use BUILD/autorun.sh)
-. BUILD/autorun.sh
+# Temporary hack to allow building from source dist
+if [ ! "$USER"=pushbuild ]
+then
+ # Run autotools(use BUILD/autorun.sh)
+ echo "Running autotools again(BUILD/autorun.sh)"
+ . BUILD/autorun.sh
+fi
# configure
./configure $base_configs $extra_configs
diff --git a/netware/BUILD/mwenv b/netware/BUILD/mwenv
index a60da17d987..a8d31949736 100755
--- a/netware/BUILD/mwenv
+++ b/netware/BUILD/mwenv
@@ -65,5 +65,11 @@ then
export TERM=linux
fi
+# Temporary hack to allow building from source dist
+if [ "$USER"=pushbuild ]
+then
+ export ARFLAGS=$AR_FLAGS
+fi
+
# Print all env. variables
export