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

Unified Diff: ports/geturl/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/geturl/build.sh
diff --git a/ports/geturl/build.sh b/ports/geturl/build.sh
index 3cbfee8fecb966380a81d10f1667bb47d85c8a11..ad8d50257d0154748dd064cfffd462bad9cbc8bc 100644
--- a/ports/geturl/build.sh
+++ b/ports/geturl/build.sh
@@ -2,6 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+EnableCliMainCxx
+
ConfigureStep() {
MakeDir ${BUILD_DIR}
cp -rf ${START_DIR}/* ${BUILD_DIR}
@@ -12,6 +14,7 @@ BuildStep() {
export CFLAGS="${NACLPORTS_CPPFLAGS} ${NACLPORTS_CFLAGS}"
export CXXFLAGS="${NACLPORTS_CPPFLAGS} ${NACLPORTS_CXXFLAGS}"
export LDFLAGS="${NACLPORTS_LDFLAGS}"
+ export LIBS="${NACLPORTS_LIBS}"
DefaultBuildStep
}

Powered by Google App Engine
This is Rietveld 408576698