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

Unified Diff: ports/tcl/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/tcl/build.sh
diff --git a/ports/tcl/build.sh b/ports/tcl/build.sh
index 902bf5517265322c2e69a677b64be431bd54f4c5..0f227203e124dc098117e8d1606aede33a2f524a 100644
--- a/ports/tcl/build.sh
+++ b/ports/tcl/build.sh
@@ -4,10 +4,6 @@
NACL_CONFIGURE_PATH=${SRC_DIR}/unix/configure
-NACLPORTS_CPPFLAGS="-Dmain=nacl_main"
-
-export LIBS="${NACL_CLI_MAIN_LIB}"
-
MAKE_TARGETS="binaries"
INSTALL_TARGETS="install-binaries"
@@ -27,6 +23,7 @@ if [ "${NACL_SHARED}" = "1" ]; then
NACLPORTS_CFLAGS+=" -fPIC"
fi
+EnableCliMain
EnableGlibcCompat
if [ "${NACL_LIBC}" = "newlib" ]; then

Powered by Google App Engine
This is Rietveld 408576698