summaryrefslogtreecommitdiffstats
path: root/core/combo
diff options
context:
space:
mode:
authorAndy McFadden <fadden@android.com>2010-03-08 12:42:46 -0800
committerAndy McFadden <fadden@android.com>2010-03-08 12:42:46 -0800
commit99e087bc82c11d5909785acc7333176952a14032 (patch)
treeccdf2d1ab66e29a1fb48bafe85e280c652da6d19 /core/combo
parentab2b1db4f8448f4ac2bcc775a96df4b7c786a59e (diff)
downloadbuild-99e087bc82c11d5909785acc7333176952a14032.zip
build-99e087bc82c11d5909785acc7333176952a14032.tar.gz
build-99e087bc82c11d5909785acc7333176952a14032.tar.bz2
Added -lpthread to target LDFLAGS for sim-eng.
This adds "-lpthread" to TARGET_GLOBAL_LDFLAGS when TARGET_SIMULATOR is true. This is much easier than inserting it into individual makefiles as needed. Has no effect on other builds. Should fix the sim-eng build breakage in libcameraservice. Change-Id: I4dcd7d54b93d1be1622b8ce78a1662d28ca9f9f2
Diffstat (limited to 'core/combo')
-rw-r--r--core/combo/TARGET_linux-x86.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/combo/TARGET_linux-x86.mk b/core/combo/TARGET_linux-x86.mk
index b8f770f..cd7d4b3 100644
--- a/core/combo/TARGET_linux-x86.mk
+++ b/core/combo/TARGET_linux-x86.mk
@@ -23,7 +23,7 @@ TARGET_CC := $(HOST_CC)
TARGET_CXX := $(HOST_CXX)
TARGET_AR := $(HOST_AR)
TARGET_GLOBAL_CFLAGS := $(HOST_GLOBAL_CFLAGS) -m32
-TARGET_GLOBAL_LDFLAGS := $(HOST_GLOBAL_LDFLAGS) -m32
+TARGET_GLOBAL_LDFLAGS := $(HOST_GLOBAL_LDFLAGS) -m32 -lpthread
TARGET_NO_UNDEFINED_LDFLAGS := $(HOST_NO_UNDEFINED_LDFLAGS)
TARGET_ARCH_VARIANT := x86
else #simulator