From 824d00dce483d0f4030c0cac253f994810e10f32 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 9 Jun 2014 14:17:33 -0400 Subject: [PATCH] Fix commit 3f38c1137b6219a646da141b08463ffa922d4e35 Previous commit was not compiling with clang. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index fc64be16e..ef71edf57 100644 --- a/configure.ac +++ b/configure.ac @@ -72,7 +72,7 @@ AC_CHECK_HEADERS(unistd.h sys/mman.h) # Compiler flags AC_CANONICAL_HOST -AC_CHECK_ALIGNOF([struct{char}]) +AC_CHECK_ALIGNOF([struct{char;}]) if test "x$GCC" = "xyes"; then # Make symbols link locally @@ -95,7 +95,7 @@ if test "x$GCC" = "xyes"; then case "$host" in arm-*-*) - if test "x$ac_cv_alignof_struct_char_" != x1; then + if test "x$ac_cv_alignof_struct_char__" != x1; then # Request byte alignment CXXFLAGS="$CXXFLAGS -mstructure-size-boundary=8" fi