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

Unified Diff: native_client_sdk/src/tools/common.mk

Issue 73083005: [NaCl SDK] Enable linux host build for nacl_io and nacl_io_tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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: native_client_sdk/src/tools/common.mk
diff --git a/native_client_sdk/src/tools/common.mk b/native_client_sdk/src/tools/common.mk
index ac9179010e1b0f230ebeb9111dd4c8982ee96814..d63758b7bbc2aaa29987f828e4dae1eaafecbd9e 100644
--- a/native_client_sdk/src/tools/common.mk
+++ b/native_client_sdk/src/tools/common.mk
@@ -290,10 +290,18 @@ endef
ifeq ($(TOOLCHAIN),win)
+ifdef SEL_LDR
+HOST_EXT = .exe
+else
HOST_EXT = .dll
+endif
+else
+ifdef SEL_LDR
+HOST_EXT =
binji 2013/11/15 17:26:23 Ah, sneaky. SEL_LDR build is just a normal build..
Sam Clegg 2013/11/15 18:13:34 I agree. How about STANDALONE?
else
HOST_EXT = .so
endif
+endif
#
@@ -316,7 +324,7 @@ endif
NACL_CFLAGS ?= -Wno-long-long -Werror
NACL_CXXFLAGS ?= -Wno-long-long -Werror
-NACL_LDFLAGS += -Wl,-as-needed
+NACL_LDFLAGS += -Wl,-as-needed -pthread
#
# Default Paths

Powered by Google App Engine
This is Rietveld 408576698