summaryrefslogtreecommitdiffstats
path: root/core/build_id.mk
diff options
context:
space:
mode:
authorJim Huang <jserv@0xlab.org>2011-09-07 01:25:28 +0800
committerConley Owens <cco3@android.com>2011-10-24 10:23:21 -0700
commit59d296623b0820fa0689b70c20af1db6b4435ab2 (patch)
tree0e758d9b5f3992a9460fad7810fae00f54a1f4ff /core/build_id.mk
parent4fc484a7fe8ed6841848b8ce4a1142eee417b84d (diff)
downloadbuild-59d296623b0820fa0689b70c20af1db6b4435ab2.zip
build-59d296623b0820fa0689b70c20af1db6b4435ab2.tar.gz
build-59d296623b0820fa0689b70c20af1db6b4435ab2.tar.bz2
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 'core/build_id.mk')
0 files changed, 0 insertions, 0 deletions