summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-11-11 16:28:42 -0300
committerJames Almer <jamrial@gmail.com>2017-11-11 16:28:42 -0300
commit814e217d14e4edfb9932f10d323a0208c9af2068 (patch)
tree09aae062e838208f789c1a25fe2617ff6dd94be3
parent08fd6e8e3c8f70e4559bea1595adb5a833b110ea (diff)
parent3e5950287317938e6b81e7ef8f024b403c303289 (diff)
Merge commit '3e5950287317938e6b81e7ef8f024b403c303289'
* commit '3e5950287317938e6b81e7ef8f024b403c303289': configure: Drop unused attribute checks Merged-by: James Almer <jamrial@gmail.com>
-rwxr-xr-xconfigure10
1 files changed, 0 insertions, 10 deletions
diff --git a/configure b/configure
index 9af8a20f96..eed2052fe6 100755
--- a/configure
+++ b/configure
@@ -2049,8 +2049,6 @@ TOOLCHAIN_FEATURES="
as_func
as_object_arch
asm_mod_q
- attribute_may_alias
- attribute_packed
blocks_extension
ebp_available
ebx_available
@@ -5360,14 +5358,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