summaryrefslogtreecommitdiffstats
path: root/chrome/tools
diff options
context:
space:
mode:
authorjustincohen <justincohen@chromium.org>2016-03-22 07:40:17 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-22 14:41:39 +0000
commit2034c17e1b8a17785b55f32c4f34512e15c4032d (patch)
treecde76986397c36df3f152d2e91943585d748de98 /chrome/tools
parent3f51d6256864b298b15feb93a57c6d986474245a (diff)
downloadchromium_src-2034c17e1b8a17785b55f32c4f34512e15c4032d.zip
chromium_src-2034c17e1b8a17785b55f32c4f34512e15c4032d.tar.gz
chromium_src-2034c17e1b8a17785b55f32c4f34512e15c4032d.tar.bz2
Remove -f and swap -s flag from nm call in verify_order.
Xcode 7.3 changed the flags for nm, but removing -f and swapping the order of -s makes it work for both pre-7.3 and 7.3. BUG= Review URL: https://codereview.chromium.org/1773683002 Cr-Commit-Position: refs/heads/master@{#382570}
Diffstat (limited to 'chrome/tools')
-rwxr-xr-xchrome/tools/build/mac/verify_order2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/tools/build/mac/verify_order b/chrome/tools/build/mac/verify_order
index cfa4c5a..d10ca9d 100755
--- a/chrome/tools/build/mac/verify_order
+++ b/chrome/tools/build/mac/verify_order
@@ -23,7 +23,7 @@ fi
LAST_SYMBOL=${1}
MACH_O_FILE=${2}
-SYMBOLS=$(nm -fgjn -s __TEXT __text "${MACH_O_FILE}")
+SYMBOLS=$(nm -gjn "${MACH_O_FILE}" -s __TEXT __text)
if [ ${?} -ne 0 ] || [ -z "${SYMBOLS}" ] ; then
echo "${0}: no symbols in ${MACH_O_FILE}" >& 2
exit 1