Make FreeType compile on AIX out of the box.

* builds/unix/configure.raw (XX_ANSIFLAGS): Don't use `-ansi' on
AIX.
This commit is contained in:
J Raynor 2016-03-05 16:38:35 +01:00 committed by Werner Lemberg
parent a8b956227b
commit 1fd2bc8c37
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2016-03-05 J Raynor <jxraynor@gmail.com>
Make FreeType compile on AIX out of the box.
* builds/unix/configure.raw (XX_ANSIFLAGS): Don't use `-ansi' on
AIX.
2016-03-01 Werner Lemberg <wl@gnu.org>
Kostya Serebryany <kcc@google.com>

View File

@ -235,6 +235,9 @@ if test "x$GCC" = xyes; then
*-*-mingw*)
XX_ANSIFLAGS="-pedantic"
;;
*-*-aix*)
XX_ANSIFLAGS="-pedantic"
;;
*)
GCC_VERSION=`$CC -dumpversion`
GCC_MAJOR=`echo "$GCC_VERSION" | sed 's/\([[^.]][[^.]]*\).*/\1/'`