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

Unified Diff: ports/bdftopcf/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/bdftopcf/build.sh
diff --git a/ports/bdftopcf/build.sh b/ports/bdftopcf/build.sh
index 623738eea25f50c7b10036b988114b4639707778..89b47a25b21c32f61874a6d2fafea196729ee5ef 100644
--- a/ports/bdftopcf/build.sh
+++ b/ports/bdftopcf/build.sh
@@ -4,8 +4,8 @@
EXECUTABLES="bdftopcf${NACL_EXEEXT}"
-NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main"
-NACLPORTS_LDFLAGS+=" -Dmain=nacl_main"
-export LIBS="-lz ${NACL_CLI_MAIN_LIB}"
-
+EnableCliMain
EnableGlibcCompat
+
+NACLPORTS_LIBS+=" -lz"
+

Powered by Google App Engine
This is Rietveld 408576698