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

Unified Diff: ports/tree/build.sh

Issue 1417223003: Switch from using 'nacl_main' to 'main' entry point (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 5 years, 2 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
Index: ports/tree/build.sh
diff --git a/ports/tree/build.sh b/ports/tree/build.sh
index bc8b20dcc041a0b6c7b0cb6f593c44c0a8810c47..1259682bc3a3ebe91911d7381609eccf837329f4 100644
--- a/ports/tree/build.sh
+++ b/ports/tree/build.sh
@@ -2,12 +2,12 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-NACLPORTS_CFLAGS+=" -Dmain=nacl_main"
BUILD_DIR=${SRC_DIR}
EXECUTABLES="tree"
-NACLPORTS_LDFLAGS+=" ${NACL_CLI_MAIN_LIB}"
INSTALL_TARGETS="install prefix=${DESTDIR}/${PREFIX}"
+EnableCliMain
+
BuildStep() {
LogExecute make clean
LogExecute make -j${OS_JOBS} CC="${NACLCC}" CFLAGS=" -c \

Powered by Google App Engine
This is Rietveld 408576698