Previous commit was not compiling with clang.
This commit is contained in:
Behdad Esfahbod 2014-06-09 14:17:33 -04:00
parent 3f38c1137b
commit 824d00dce4
1 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ AC_CHECK_HEADERS(unistd.h sys/mman.h)
# Compiler flags # Compiler flags
AC_CANONICAL_HOST AC_CANONICAL_HOST
AC_CHECK_ALIGNOF([struct{char}]) AC_CHECK_ALIGNOF([struct{char;}])
if test "x$GCC" = "xyes"; then if test "x$GCC" = "xyes"; then
# Make symbols link locally # Make symbols link locally
@ -95,7 +95,7 @@ if test "x$GCC" = "xyes"; then
case "$host" in case "$host" in
arm-*-*) arm-*-*)
if test "x$ac_cv_alignof_struct_char_" != x1; then if test "x$ac_cv_alignof_struct_char__" != x1; then
# Request byte alignment # Request byte alignment
CXXFLAGS="$CXXFLAGS -mstructure-size-boundary=8" CXXFLAGS="$CXXFLAGS -mstructure-size-boundary=8"
fi fi