From 1e96662fc7ad1abeedac7ac4a74c9e9deb88b290 Mon Sep 17 00:00:00 2001 From: David Hendricks Date: Tue, 15 Jul 2014 13:13:01 -0700 Subject: [PATCH] xcompile: Get rid of $ARMFLAGS Whatever this variable was intended for, it doesn't appear to have any purpose now. BUG=none BRANCH=none TEST=buildgcc -p armv7a-eabi still works Signed-off-by: David Hendricks Change-Id: I618c6c05c95face6c902e626a3574700bea12153 Reviewed-on: https://chromium-review.googlesource.com/208145 Reviewed-by: Vadim Bendebury --- util/xcompile/xcompile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile index 45d2be4e0e..cb5eb09aad 100644 --- a/util/xcompile/xcompile +++ b/util/xcompile/xcompile @@ -113,8 +113,7 @@ detect_special_flags() { CFLAGS="$CFLAGS -march=i686" ;; arm ) - ARMFLAGS="" - testcc "$CC" "$CFLAGS $ARMFLAGS" && CFLAGS="$CFLAGS $ARMFLAGS" + testcc "$CC" "$CFLAGS" && CFLAGS="$CFLAGS" ;; esac }