From a2abfd6b30e80bf39bcc22b4fee91db37f14fa4a Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Wed, 18 May 2016 14:32:32 -0700 Subject: [PATCH] Add the common directory back to kernel headers. This is a port of build/ change 6a2f28514. Change-Id: I9128abf61a56e282f335f540fcf064dd52706b2b --- cc/arm64_device.go | 1 + cc/arm_device.go | 1 + cc/mips64_device.go | 1 + cc/mips_device.go | 1 + cc/x86_64_device.go | 1 + cc/x86_device.go | 1 + 6 files changed, 6 insertions(+) diff --git a/cc/arm64_device.go b/cc/arm64_device.go index dcdce0f94..4e412876f 100644 --- a/cc/arm64_device.go +++ b/cc/arm64_device.go @@ -103,6 +103,7 @@ func init() { "-isystem ${LibcRoot}/arch-arm64/include", "-isystem ${LibcRoot}/include", "-isystem ${LibcRoot}/kernel/uapi", + "-isystem ${LibcRoot}/kernel/common", "-isystem ${LibcRoot}/kernel/uapi/asm-arm64", }, " ")) diff --git a/cc/arm_device.go b/cc/arm_device.go index 1b467da2f..d58359092 100644 --- a/cc/arm_device.go +++ b/cc/arm_device.go @@ -172,6 +172,7 @@ func init() { "-isystem ${LibcRoot}/arch-arm/include", "-isystem ${LibcRoot}/include", "-isystem ${LibcRoot}/kernel/uapi", + "-isystem ${LibcRoot}/kernel/common", "-isystem ${LibcRoot}/kernel/uapi/asm-arm", }, " ")) diff --git a/cc/mips64_device.go b/cc/mips64_device.go index 1bd6a3c85..7cab09bce 100644 --- a/cc/mips64_device.go +++ b/cc/mips64_device.go @@ -104,6 +104,7 @@ func init() { "-isystem ${LibcRoot}/arch-mips64/include", "-isystem ${LibcRoot}/include", "-isystem ${LibcRoot}/kernel/uapi", + "-isystem ${LibcRoot}/kernel/common", "-isystem ${LibcRoot}/kernel/uapi/asm-mips", }, " ")) diff --git a/cc/mips_device.go b/cc/mips_device.go index 86e7deea2..b2b2ccfeb 100644 --- a/cc/mips_device.go +++ b/cc/mips_device.go @@ -140,6 +140,7 @@ func init() { "-isystem ${LibcRoot}/arch-mips/include", "-isystem ${LibcRoot}/include", "-isystem ${LibcRoot}/kernel/uapi", + "-isystem ${LibcRoot}/kernel/common", "-isystem ${LibcRoot}/kernel/uapi/asm-mips", }, " ")) diff --git a/cc/x86_64_device.go b/cc/x86_64_device.go index 65c7c0084..9a0d66322 100644 --- a/cc/x86_64_device.go +++ b/cc/x86_64_device.go @@ -152,6 +152,7 @@ func init() { "-isystem ${LibcRoot}/arch-x86_64/include", "-isystem ${LibcRoot}/include", "-isystem ${LibcRoot}/kernel/uapi", + "-isystem ${LibcRoot}/kernel/common", "-isystem ${LibcRoot}/kernel/uapi/asm-x86", }, " ")) diff --git a/cc/x86_device.go b/cc/x86_device.go index d0bd8a0ad..e47c6fb6b 100644 --- a/cc/x86_device.go +++ b/cc/x86_device.go @@ -171,6 +171,7 @@ func init() { "-isystem ${LibcRoot}/arch-x86/include", "-isystem ${LibcRoot}/include", "-isystem ${LibcRoot}/kernel/uapi", + "-isystem ${LibcRoot}/kernel/common", "-isystem ${LibcRoot}/kernel/uapi/asm-x86", }, " "))