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

Unified Diff: ports/nano/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/nacl-spawn/nacl_spawn_test.cc ('k') | ports/netcat/nacl.patch » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/nano/build.sh
diff --git a/ports/nano/build.sh b/ports/nano/build.sh
index 542b6f5ee5952718435f4dc959a59d48bbe84251..6ee8aa37431efb2290a25f5a367e850cf00df9ea 100644
--- a/ports/nano/build.sh
+++ b/ports/nano/build.sh
@@ -6,9 +6,7 @@ NACLPORTS_LIBS+=" -lncurses"
EXECUTABLES=src/nano${NACL_EXEEXT}
EnableGlibcCompat
-
-NACLPORTS_LIBS+=" ${NACL_CLI_MAIN_LIB}"
-NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main"
+EnableCliMain
if [ "${NACL_LIBC}" = "newlib" ]; then
EXTRA_CONFIGURE_ARGS="--enable-tiny"
« no previous file with comments | « ports/nacl-spawn/nacl_spawn_test.cc ('k') | ports/netcat/nacl.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698