Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Unified Diff: build_tools/common.sh

Issue 942013005: Enable building for ARM with nacl-clang (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build_tools/buildbot_common.sh ('k') | ports/binutils/pkg_info » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build_tools/common.sh
diff --git a/build_tools/common.sh b/build_tools/common.sh
index c8cd452640a88c0fc37ef5637a526c1e45eb6dd8..310c5844e22d5ca876f2924e5de43b01e1fce4b9 100644
--- a/build_tools/common.sh
+++ b/build_tools/common.sh
@@ -66,7 +66,7 @@ NACLPORTS_LDFLAGS+=" -L${NACLPORTS_LIBDIR} -Wl,-rpath-link=${NACLPORTS_LIBDIR}"
# The NaCl version of ARM gcc emits warnings about va_args that
# are not particularly useful
-if [ "${NACL_ARCH}" = "arm" ]; then
+if [ "${NACL_ARCH}" = "arm" -a "${TOOLCHAIN}" = "newlib" ]; then
NACLPORTS_CFLAGS="${NACLPORTS_CFLAGS} -Wno-psabi"
NACLPORTS_CXXFLAGS="${NACLPORTS_CXXFLAGS} -Wno-psabi"
fi
« no previous file with comments | « build_tools/buildbot_common.sh ('k') | ports/binutils/pkg_info » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698