diff options
| author | Jim Huang <jserv@0xlab.org> | 2011-09-07 01:25:28 +0800 |
|---|---|---|
| committer | Jean-Baptiste Queru <jbq@google.com> | 2011-10-27 10:38:10 -0700 |
| commit | fddf23f19e7604e6c5b3c5377e7ff6293539a1da (patch) | |
| tree | 6e482afbae8e25751ed82b161631f37581f7d0f9 /tools/java-event-log-tags.py | |
| parent | 4c02d76b8fd47d66896c9d133e8e7dbeb6dbb266 (diff) | |
HOST_linux-x86: Avoid doubly define macro _FORTIFY_SOURCE
While building Android with latest host gcc, it causes the following
build error:
Install: out/host/linux-x86/bin/mkbootimg
host C++: obbtool <= frameworks/base/tools/obbtool/Main.cpp
<command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror]
<built-in>:0:0: note: this is the location of the previous definition
cc1plus: all warnings being treated as errors
In order to make build system happy, this patch does unset macro
_FORTIFY_SOURCE and then define it in host cflags.
Change-Id: Ic37a90f05081a2c3650b3335bc87e9e895900fb2
Diffstat (limited to 'tools/java-event-log-tags.py')
0 files changed, 0 insertions, 0 deletions
