diff options
author | Andi Kleen <ak@linux.intel.com> | 2014-07-04 16:43:49 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-07-07 14:01:14 -0700 |
commit | 8cd7ebc89e025f1d5bc4b247497e4cfd7fd8ec0f (patch) | |
tree | f7228ecbd72012c678bc3bda669624a4421927a1 /t/t4051-diff-function-context.sh | |
parent | Use BASIC_FLAGS for profile feedback (diff) | |
download | tgif-8cd7ebc89e025f1d5bc4b247497e4cfd7fd8ec0f.tar.xz |
Don't define away __attribute__ on gcc
Profile feedback sets -DNO_NORETURN, which causes the compat
header file to go into a default #else block. That #else
block defines away __attribute__(). Doing so causes all
kinds of problems with the Linux and gcc system headers:
in particular it makes the xmmintrin.h headers error out,
breaking the build.
Don't define away __attribute__ when __GNUC__ is set.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4051-diff-function-context.sh')
0 files changed, 0 insertions, 0 deletions