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

Unified Diff: ports/tk/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
« no previous file with comments | « ports/thttpd/nacl.patch ('k') | ports/toybox/build.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/tk/build.sh
diff --git a/ports/tk/build.sh b/ports/tk/build.sh
index a0b5b9886837bcc555c5aa2561e9e7c7bca3919c..5c1047fc72852c4b445e06177ffcae7f057e58bd 100644
--- a/ports/tk/build.sh
+++ b/ports/tk/build.sh
@@ -4,8 +4,7 @@
NACL_CONFIGURE_PATH=${SRC_DIR}/unix/configure
-NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main"
-NACLPORTS_LIBS+=" -lX11 -lxcb -lXau ${NACL_CLI_MAIN_LIB}"
+NACLPORTS_LIBS+=" -lX11 -lxcb -lXau"
EXTRA_CONFIGURE_ARGS+=" --with-tcl=${NACLPORTS_LIBDIR}"
@@ -18,6 +17,7 @@ fi
# The fallbacks seem to be non-general.
export tcl_cv_strtod_buggy=ok
+EnableCliMain
EnableGlibcCompat
# Ideally we would only add this flag for newlib builds but
« no previous file with comments | « ports/thttpd/nacl.patch ('k') | ports/toybox/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698