You've already forked aur_builder
Add SKIP_NATIVE to skip building for native
* remove tail * DEBUG_SHELL: pause before copying
This commit is contained in:
@@ -10,5 +10,7 @@ done
|
|||||||
|
|
||||||
# Enables all extra features supported by host CPU
|
# Enables all extra features supported by host CPU
|
||||||
|
|
||||||
|
if [ "${SKIP_NATIVE-n}" = n ]; then
|
||||||
CFLAGS="$CFLAGS -march=native -mtune=native"
|
CFLAGS="$CFLAGS -march=native -mtune=native"
|
||||||
CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
|
CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
|
||||||
|
fi
|
||||||
|
|||||||
5
run.sh
5
run.sh
@@ -20,7 +20,6 @@ cd ./w
|
|||||||
|
|
||||||
if [ "${DEBUG_SHELL-n}" = y ]; then
|
if [ "${DEBUG_SHELL-n}" = y ]; then
|
||||||
echo "Stopping before build... Run 'exit 1' to skip building"
|
echo "Stopping before build... Run 'exit 1' to skip building"
|
||||||
tail -12 "$0"
|
|
||||||
bash
|
bash
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -34,9 +33,9 @@ fi
|
|||||||
|
|
||||||
LOGDEST=../output PKGDEST=../output makepkg --syncdeps --log
|
LOGDEST=../output PKGDEST=../output makepkg --syncdeps --log
|
||||||
|
|
||||||
sudo cp -r ../output /w
|
|
||||||
|
|
||||||
if [ "${DEBUG_SHELL-n}" = y ]; then
|
if [ "${DEBUG_SHELL-n}" = y ]; then
|
||||||
echo "Build complete"
|
echo "Build complete"
|
||||||
bash
|
bash
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
sudo cp -r ../output /w
|
||||||
|
|||||||
Reference in New Issue
Block a user