commit | 9b84824dfd597d8137137fa33295faa26cc70ae0 | [log] [tgz] |
---|---|---|
author | Kito Cheng <kito@0xlab.org> | Wed Apr 03 11:29:40 2013 +0800 |
committer | Elliott Hughes <enh@google.com> | Wed Apr 03 11:14:20 2013 -0700 |
tree | 28ea74420a0b66a6107989753e51bd2ec6572f7b | |
parent | a69103ffe4b3d55f5bab7e7bfba36ccecddfa4da [diff] |
Prevent name conflict for eventfd.cpp and eventfd.s when building libc.a - eventfd.cpp and eventfd.s will output to the same file when building libc.a out/target/product/*/obj/STATIC_LIBRARIES/libc_intermediates/WHOLE/libc_common_objs/eventfd.o - And then `eventfd` will undefined when statically linked to libc. Also add a unit test. (cherry-pick of 8baa929d5d3bcf63381cf78ba76168c80c303f5e.) Change-Id: Icd0eb0f4ce0511fb9ec00a504d491afd47d744d3