Commit 814e217d authored by James Almer's avatar James Almer

Merge commit '3e595028'

* commit '3e595028':
  configure: Drop unused attribute checks
Merged-by: 's avatarJames Almer <jamrial@gmail.com>
parents 08fd6e8e 3e595028
...@@ -2049,8 +2049,6 @@ TOOLCHAIN_FEATURES=" ...@@ -2049,8 +2049,6 @@ TOOLCHAIN_FEATURES="
as_func as_func
as_object_arch as_object_arch
asm_mod_q asm_mod_q
attribute_may_alias
attribute_packed
blocks_extension blocks_extension
ebp_available ebp_available
ebx_available ebx_available
...@@ -5360,14 +5358,6 @@ check_cc <<EOF && enable pragma_deprecated ...@@ -5360,14 +5358,6 @@ check_cc <<EOF && enable pragma_deprecated
void foo(void) { _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"") } void foo(void) { _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"") }
EOF EOF
check_cc <<EOF && enable attribute_packed
struct { int x; } __attribute__((packed)) x;
EOF
check_cc <<EOF && enable attribute_may_alias
union { int x; } __attribute__((may_alias)) x;
EOF
check_cc <<EOF || die "endian test failed" check_cc <<EOF || die "endian test failed"
unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E'; unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E';
EOF EOF
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment