GNOME Bug 612402 - (hb-arm) HarfBuzz compilation fix for arm
With gcc on arm, request 8-bit structure alignment.
This commit is contained in:
parent
39a840ae65
commit
5b7f38979f
10
configure.ac
10
configure.ac
|
@ -24,9 +24,17 @@ LT_INIT([win32-dll])
|
||||||
AC_CHECK_FUNCS(mprotect sysconf getpagesize)
|
AC_CHECK_FUNCS(mprotect sysconf getpagesize)
|
||||||
AC_CHECK_HEADERS(unistd.h sys/mman.h)
|
AC_CHECK_HEADERS(unistd.h sys/mman.h)
|
||||||
|
|
||||||
# Make sure we don't link to libstdc++
|
|
||||||
if test "x$GCC" = "xyes"; then
|
if test "x$GCC" = "xyes"; then
|
||||||
|
|
||||||
|
# Make sure we don't link to libstdc++
|
||||||
CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions"
|
CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions"
|
||||||
|
|
||||||
|
case "$host" in
|
||||||
|
arm-*-*)
|
||||||
|
# Request byte alignment on arm
|
||||||
|
CXXFLAGS="$CXXFLAGS -mstructure-size-boundary=8"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl ==========================================================================
|
dnl ==========================================================================
|
||||||
|
|
Loading…
Reference in New Issue