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

Unified Diff: ports/lua/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/libxpm/build.sh ('k') | ports/m4/nacl.patch » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/lua/build.sh
diff --git a/ports/lua/build.sh b/ports/lua/build.sh
index ea5abeb36fe7f374c6525797aedc421e565e4969..00a78903ac87eb4501be86cc483e49131a4b65ba 100644
--- a/ports/lua/build.sh
+++ b/ports/lua/build.sh
@@ -5,8 +5,7 @@
BUILD_DIR=${SRC_DIR}
EXECUTABLES="src/lua${NACL_EXEEXT} src/luac${NACL_EXEEXT}"
-NACLPORTS_CPPFLAGS+=" -Dmain=nacl_main"
-NACLPORTS_LDFLAGS+=" ${NACL_CLI_MAIN_LIB}"
+EnableCliMain
if [ "${NACL_LIBC}" = "glibc" ]; then
PLAT=nacl-glibc
@@ -41,6 +40,7 @@ BuildStep() {
set -x
make MYLDFLAGS="${NACLPORTS_LDFLAGS}" MYCFLAGS="${NACLPORTS_CPPFLAGS}" \
AR="${NACLAR} rcu" RANLIB="${NACLRANLIB}" CC="${NACLCC} -std=gnu99" \
+ MYLIBS="${NACLPORTS_LIBS}" \
PLAT=${PLAT} EXEEXT=${NACL_EXEEXT} -j${OS_JOBS}
set +x
}
« no previous file with comments | « ports/libxpm/build.sh ('k') | ports/m4/nacl.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698