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

Unified Diff: ports/mingn/build.sh

Issue 907563002: Simplify cli_main (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 5 years, 10 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/make/build.sh ('k') | ports/nacl-spawn/Makefile » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/mingn/build.sh
diff --git a/ports/mingn/build.sh b/ports/mingn/build.sh
index dfb401eee7f565f4ab964bfd05fc60d084d4f134..3801587e5402ee3198ff542bd39e32ac16d89a10 100644
--- a/ports/mingn/build.sh
+++ b/ports/mingn/build.sh
@@ -122,7 +122,7 @@ toolchain/${OS_SUBDIR}_x86_glibc/x86_64-nacl/include
# But also copy the debug ones.
cp ${NACL_SDK_ROOT}/lib/glibc_${arch_alt}/Debug/* ${usr_lib_dir}/debug
- local mingn_ldflags="-lcli_main -lppapi_simple -lnacl_spawn -lnacl_io"
+ local mingn_ldflags="${NACL_CLI_MAIN_LIB} -lppapi_simple -lnacl_io"
mingn_ldflags+=" -lppapi -lppapi_cpp -lstdc++ -lm"
# Create libmingn.so ldscripts.
cat <<EOF > ${TOOLCHAIN_OUT_DIR}/${arch}-nacl/usr/lib/libmingn.so
« no previous file with comments | « ports/make/build.sh ('k') | ports/nacl-spawn/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698