cutils: don't fortify property_get on clang.
clang doesn't do the frontend inlining/dead code elimination needed for the fortified implementation to work. Therefore, turn it off. Bug: http://b/28381737 Change-Id: Ie8dd970e3908b1daaa587ad2bd041e8f6e2089db
This commit is contained in:
parent
bfd6a0f24d
commit
74ebdf3c8e
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ int property_set(const char *key, const char *value);
|
|||
|
||||
int property_list(void (*propfn)(const char *key, const char *value, void *cookie), void *cookie);
|
||||
|
||||
#if defined(__BIONIC_FORTIFY)
|
||||
#if defined(__BIONIC_FORTIFY) && !defined(__clang__)
|
||||
|
||||
extern int __property_get_real(const char *, char *, const char *)
|
||||
__asm__(__USER_LABEL_PREFIX__ "property_get");
|
||||
|
|
Loading…
Reference in a new issue