summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maennich <maennich@google.com>2020-01-31 10:35:14 +0000
committerMatthias Maennich <maennich@google.com>2020-01-31 10:35:14 +0000
commita222e71c00df0e9d185e0e0e14f4961c4d1d6387 (patch)
tree3b26807d1407b21f2a578fadbbc7f63c0b380971
parentce7a3ada03ef579b8b3a1a2fec3bb8589b85ba67 (diff)
downloadbuild-a222e71c00df0e9d185e0e0e14f4961c4d1d6387.tar.gz
abi/bootstrap: upgrade elfutils version 0.176 -> 0.178
Since this upgrade does not change the final libabigail version, ensure we are always building in a fresh OUT_DIR. I decided against changing the version as this change is supposed to be transparent. (Though it could introduce subtle changes and we could not distinguish between the versions.) Change-Id: I0bc06a910f90c2a57aaa698c5e2f25e84db23e94 Signed-off-by: Matthias Maennich <maennich@google.com>
-rwxr-xr-xabi/bootstrap9
1 files changed, 7 insertions, 2 deletions
diff --git a/abi/bootstrap b/abi/bootstrap
index 38b7d945..3c2e3ff1 100755
--- a/abi/bootstrap
+++ b/abi/bootstrap
@@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-ELFUTILS_VERSION=elfutils-0.176
+ELFUTILS_VERSION=elfutils-0.178
ABIGAIL_VERSION=4752d416
NUM_CORES=$(cat /proc/cpuinfo | grep -c proc)
@@ -30,6 +30,9 @@ if [ -e "${OUT_DIR}" ]; then
read
fi
+# Clear out the OUT_DIR
+rm -rf "${OUT_DIR}"
+
# Add the future PATHs to the environment for the builds to pick up
export PATH="${OUT_DIR}/bin:${PATH}"
export LD_LIBRARY_PATH="${OUT_DIR}/lib:${OUT_DIR}/lib/elfutils:${LD_LIBRARY_PATH}"
@@ -69,7 +72,9 @@ pushd "${ELFUTILS_SRC}"
autoreconf -i --force
mkdir -p build/
pushd build/
- ../configure --prefix="${OUT_DIR}" --enable-maintainer-mode
+ ../configure --prefix="${OUT_DIR}" \
+ --enable-maintainer-mode \
+ --disable-debuginfod
make -j${NUM_CORES}
make -j${NUM_CORES} install
popd