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

Unified Diff: ports/gawk/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/gawk/build.sh
diff --git a/ports/gawk/build.sh b/ports/gawk/build.sh
index 0cfab9cef0f3c2819281a83412157e3f7d98d3ce..71ac48277fffa4f1b80fbfb991348c3ea9050a1f 100644
--- a/ports/gawk/build.sh
+++ b/ports/gawk/build.sh
@@ -3,13 +3,14 @@
# found in the LICENSE file.
# getopt.c and getopt1.c have been commented for build
-NACLPORTS_CFLAGS+=" -Dmain=nacl_main"
if [ ${TOOLCHAIN} != "glibc" ]; then
NACLPORTS_CFLAGS+=" -D__GNU_LIBRARY__ "
fi
NACLPORTS_LDFLAGS+=" ${NACL_CLI_MAIN_LIB}"
+EnableCliMain
+
#BuildStep() {
# SetupCrossEnvironment
# including readline because it is not linked by itself

Powered by Google App Engine
This is Rietveld 408576698