summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2017-09-26 18:14:41 +0200
committerDiego Biurrun <diego@biurrun.de>2017-10-10 23:20:19 +0200
commit3e5950287317938e6b81e7ef8f024b403c303289 (patch)
tree5e80fc9f81fc982571ea0b60ecdcd9003bb50fdb
parent421c10ed4fb0475a2cb055dd130ba12a6adb9f70 (diff)
configure: Drop unused attribute checks
-rwxr-xr-xconfigure10
1 files changed, 0 insertions, 10 deletions
diff --git a/configure b/configure
index b4cda14c01..1a2824c041 100755
--- a/configure
+++ b/configure
@@ -1665,8 +1665,6 @@ TOOLCHAIN_FEATURES="
as_func
as_object_arch
asm_mod_q
- attribute_may_alias
- attribute_packed
blocks_extension
ebp_available
ebx_available
@@ -4295,14 +4293,6 @@ check_cc <<EOF && enable pragma_deprecated
void foo(void) { _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"") }
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"
unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E';
EOF