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

Unified Diff: ports/perl/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/perl/build.sh
diff --git a/ports/perl/build.sh b/ports/perl/build.sh
index 6313450c912150402fdd38fc08ce91777ecae305..21dd2205277c874db27b20a69d89963a68708cee 100644
--- a/ports/perl/build.sh
+++ b/ports/perl/build.sh
@@ -8,13 +8,13 @@ export BUILD_LD=cc
# use -Wno-return-type to suppress return-type errors encountered
# with pnacl, arm's clang-newlib (microperl)
NACLPORTS_CFLAGS_MICRO=$NACLPORTS_CFLAGS
-NACLPORTS_CFLAGS_MICRO+=" -Dmain=nacl_main -Wno-return-type "
+NACLPORTS_CFLAGS_MICRO+=" -Wno-return-type "
NACLPORTS_CFLAGS+=" -I${NACL_SDK_ROOT}/include -I${NACLPORTS_INCLUDE} \
-Wno-return-type"
BUILD_DIR=${SRC_DIR}
# keeping microperl for now
EXECUTABLES="perl microperl"
-NACLPORTS_LDFLAGS+=" ${NACL_CLI_MAIN_LIB}"
+NACLPORTS_LDFLAGS+=" ${NACL_CLI_MAIN_LDFLAGS}"
# we need a working perl on host to build things for target
HOST_BUILD=${WORK_DIR}/build_host
ARCH_DIR=${PUBLISH_DIR}/${NACL_ARCH}

Powered by Google App Engine
This is Rietveld 408576698