From 4d6f6f186c4cb09b30252f6dbd82d89788e898b5 Mon Sep 17 00:00:00 2001 From: Mingcong Bai Date: Thu, 6 Oct 2016 13:58:26 -0500 Subject: [PATCH] defcfg: properly check for mips* --- etc/autobuild/ab3_defcfg.sh | 2 +- etc/autobuild/ab3cfg.sh | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/etc/autobuild/ab3_defcfg.sh b/etc/autobuild/ab3_defcfg.sh index 9ac58c3c..f59ce25c 100644 --- a/etc/autobuild/ab3_defcfg.sh +++ b/etc/autobuild/ab3_defcfg.sh @@ -38,7 +38,7 @@ AB_FLAGS_PIC=1 AB_FLAGS_PIE=1 # Hardening specs? -if [[ "${CROSS:-$ARCH}" != "mipsel" ]]; then +if [[ $(uname -m) != mips* ]]; then AB_FLAGS_SPECS=1 else AB_FLAGS_SPECS=0 diff --git a/etc/autobuild/ab3cfg.sh b/etc/autobuild/ab3cfg.sh index 49a18f0e..ddf5ff87 100644 --- a/etc/autobuild/ab3cfg.sh +++ b/etc/autobuild/ab3cfg.sh @@ -2,5 +2,7 @@ ##Autobuild user config override # See a list of options in ab3_defcfg.sh. ABMPM=dpkg # Your main PM -ABAPMS= # Other PMs -: ${MTER='AOSC Buildbot '} # And your name and email +ABAPMS= # Other PMs +MTER="Jeff Bai " +ARCH=mipsel +ABINSTALL=dpkg