Commit 375b04b9 authored by unknown's avatar unknown
Browse files

Temporary fixes for building from source dist in pushbuild


netware/BUILD/compile-netware-END:
  If running as user pushbuild don't run autotools again
netware/BUILD/mwenv:
  Set ARFLAGS to value of AR_FLAGS
parent 0b381c94
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -18,8 +18,13 @@ rm -rf Makefile.in.bk
# Setup Metrowerks environment
. $path/mwenv

# 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
+6 −0
Original line number Diff line number Diff line
@@ -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