diff options
author | Stephen Hines <srhines@google.com> | 2013-03-27 16:51:38 -0700 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2013-03-27 16:51:38 -0700 |
commit | 8db4ccea4aa95d80c7c16b9f49d96d07a63c3945 (patch) | |
tree | ba28718662c227ee18e975930fa6ef91f9fc0a8c /core/definitions.mk | |
parent | d3e01c1577799a04ec045002ef092a6b992c3972 (diff) | |
download | build-8db4ccea4aa95d80c7c16b9f49d96d07a63c3945.zip build-8db4ccea4aa95d80c7c16b9f49d96d07a63c3945.tar.gz build-8db4ccea4aa95d80c7c16b9f49d96d07a63c3945.tar.bz2 |
Link RS compatibility files with libc and make bcc_compat a regular dep.
If we don't do "-lc", we end up missing symbols like "memset" on our non-NEON
builds. It also makes more sense to have bcc_compat as a standard dependency
for now, since it occasionally changes the way we compile/link our source
files.
Change-Id: I4b0ead66caa7c72fb7733db8804a33faa5350930
Diffstat (limited to 'core/definitions.mk')
-rw-r--r-- | core/definitions.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/definitions.mk b/core/definitions.mk index 2cf5283..7bee582 100644 --- a/core/definitions.mk +++ b/core/definitions.mk @@ -833,7 +833,7 @@ $(hide) $(PRIVATE_CXX) -shared -Wl,-soname,$(notdir $@) -nostdlib \ $(RS_PREBUILT_COMPILER_RT) \ -o $@ -L prebuilts/gcc/ \ -L $(TARGET_OUT_INTERMEDIATE_LIBRARIES) $(RS_PREBUILT_LIBPATH) \ - -lRSSupport -lm + -lRSSupport -lm -lc endef ########################################################### |