GNOME Bugzilla – Bug 652228
Flags -fno-rtti -fno-exception should be detected if the compiler accepts them
Last modified: 2012-08-18 17:26:04 UTC
I am compiling on Solaris 9 Sparc with Sun Studio 12 and the flags trigger other behaviour on Sun Studio then on GCC. The correctness should be tested with errwarn set during configure time. The respective lines in configure are # Make sure we don't link to libstdc++ (needs de-gcc-fication) CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions"
We should copy this from upstream harfbuzz repo: # Compiler flags AC_CANONICAL_HOST if test "x$GCC" = "xyes"; then # Make sure we don't link to libstdc++ CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions" case "$host" in arm-*-*) # Request byte alignment on arm CXXFLAGS="$CXXFLAGS -mstructure-size-boundary=8" ;; esac fi
*** Bug 603799 has been marked as a duplicate of this bug. ***
We've merged the HarfBuzz branch. Closing obsolete.