From e4add5c328fd8ff92767526464ce3643ec402a01 Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Fri, 19 Jun 2009 14:29:23 +0000 Subject: compiler warnings: do not warn for unknown pragmas enable in libs/libpng/ enable in libs/teckit/ enable in libs/graphite/ in libs/freetype/: add -fno-strict-aliasing to CFLAGS regenerate git-svn-id: svn://tug.org/texlive/trunk@13833 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/dvipsk/configure | 4 ++++ Build/source/texk/dvipsk/squeeze/configure | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'Build/source/texk/dvipsk') diff --git a/Build/source/texk/dvipsk/configure b/Build/source/texk/dvipsk/configure index 27cfecc410a..e5ca594f4ea 100755 --- a/Build/source/texk/dvipsk/configure +++ b/Build/source/texk/dvipsk/configure @@ -12913,6 +12913,10 @@ elif test "x$GCC" = xyes; then 3.4.* | 4.*) kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; esac + case `$CC -dumpversion` in + 3.[234].* | 4.*) kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; +esac + if test "x$enable_compiler_warnings" != xmin; then kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations" if test "x$enable_compiler_warnings" != xyes; then diff --git a/Build/source/texk/dvipsk/squeeze/configure b/Build/source/texk/dvipsk/squeeze/configure index e03a923671d..39707b6c594 100755 --- a/Build/source/texk/dvipsk/squeeze/configure +++ b/Build/source/texk/dvipsk/squeeze/configure @@ -3491,6 +3491,10 @@ elif test "x$GCC" = xyes; then 3.4.* | 4.*) kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; esac + case `$CC -dumpversion` in + 3.[234].* | 4.*) kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; +esac + if test "x$enable_compiler_warnings" != xmin; then kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations" if test "x$enable_compiler_warnings" != xyes; then -- cgit v1.2.3