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

Unified Diff: ports/gforth/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/geturl/geturl.cc ('k') | ports/gimp/build.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/gforth/build.sh
diff --git a/ports/gforth/build.sh b/ports/gforth/build.sh
index 57b20c154136d2029d100a04db254f1d2302b88b..8aa23f77cea96ff56cb000660635955788d966cb 100644
--- a/ports/gforth/build.sh
+++ b/ports/gforth/build.sh
@@ -12,6 +12,8 @@ HOST_INSTALL_DIR=${WORK_DIR}/install_host
EXECUTABLES="gforth-ditc${NACL_EXEEXT}"
MAKE_TARGETS="${EXECUTABLES}"
+EnableCliMain
+
BuildHostGforth() {
MakeDir ${HOST_BUILD_DIR}
ChangeDir ${HOST_BUILD_DIR}
@@ -27,9 +29,6 @@ ConfigureStep() {
BuildHostGforth
export PATH="${HOST_INSTALL_DIR}/bin:${PATH}"
export skipcode=no
- NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main"
- export LIBS+=" -Wl,--undefined=nacl_main ${NACL_CLI_MAIN_LIB} \
- -ltar -lppapi_simple -lnacl_io -lppapi -l${NACL_CXX_LIB}"
EnableGlibcCompat
ChangeDir ${BUILD_DIR}
EXTRA_CONFIGURE_ARGS="--without-check"
« no previous file with comments | « ports/geturl/geturl.cc ('k') | ports/gimp/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698