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

Unified Diff: ports/gdb/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/gcc/nacl.patch ('k') | ports/gdb/nacl.patch » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/gdb/build.sh
diff --git a/ports/gdb/build.sh b/ports/gdb/build.sh
index 193e1eef704bf4f433cc94b26abe8f538a17d071..4adbade15d6612fc82e1dae77e87408eaf6183e6 100644
--- a/ports/gdb/build.sh
+++ b/ports/gdb/build.sh
@@ -2,11 +2,11 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-NACLPORTS_LIBS+=" -lncurses ${NACL_CLI_MAIN_LIB} -lm"
-NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main"
-
+EnableCliMain
EnableGlibcCompat
+NACLPORTS_LIBS+=" -lncurses -lm"
+
if [ "${NACL_LIBC}" = "newlib" ]; then
# Since the final link is done with -lnacl_io and not -lglibc-compat
# we disable getrlimit and setrlimit. TODO(sbc): add these back if/when
« no previous file with comments | « ports/gcc/nacl.patch ('k') | ports/gdb/nacl.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698