[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE_3_0_BRANCH: kde-common/admin
From: Dirk Mueller <mueller () kde ! org>
Date: 2002-12-14 13:11:27
[Download RAW message or body]
CVS commit by mueller:
backport compiler check fixes from 3_1_BRANCH
M +3 -40 acinclude.m4.in 2.222.2.6
--- kde-common/admin/acinclude.m4.in #2.222.2.5:2.222.2.6
@@ -2622,5 +2622,4 @@
CXXFLAGS="-Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings $CXXFLAGS"
KDE_CHECK_COMPILER_FLAG(Wundef,[CXXFLAGS="-Wundef $CXXFLAGS"])
- KDE_CHECK_COMPILER_FLAG(Wbad-function-cast,[CXXFLAGS="-Wbad-function-cast $CXXFLAGS"])
KDE_CHECK_COMPILER_FLAG(Wno-long-long,[CXXFLAGS="-Wno-long-long $CXXFLAGS"])
KDE_CHECK_COMPILER_FLAG(Wnon-virtual-dtor,[CXXFLAGS="-Wnon-virtual-dtor $CXXFLAGS"])
@@ -2697,40 +2696,7 @@
AC_PROG_CXXCPP
- # the following is to allow programs, that are known to
- # have problems when compiled with -O2
- if test -n "$CXXFLAGS"; then
- kde_safe_IFS=$IFS
- IFS=" "
- NOOPT_CXXFLAGS=""
- for i in $CXXFLAGS; do
- case $i in
- -O*)
- ;;
- *)
- NOOPT_CXXFLAGS="$NOOPT_CXXFLAGS $i"
- ;;
- esac
- done
- IFS=$kde_safe_IFS
- fi
-
- if test -n "$CFLAGS"; then
- kde_safe_IFS=$IFS
- IFS=" "
- NOOPT_CFLAGS=""
- for i in $CFLAGS; do
- case $i in
- -O*)
- ;;
- *)
- NOOPT_CFLAGS="$NOOPT_CFLAGS $i"
- ;;
- esac
- done
- IFS=$kde_safe_IFS
- fi
-
- if test "x$kde_use_qt_emb" = "xyes"; then
- NOOPT_CXXFLAGS="$NOOPT_CXXFLAGS -fno-rtti -DQWS"
+ if test "$GCC" = yes; then
+ NOOPT_CXXFLAGS=-O0
+ NOOPT_CFLAGS=-O0
fi
@@ -2741,7 +2707,4 @@
ifdef([AM_DEPENDENCIES], AC_REQUIRE([KDE_ADD_DEPENDENCIES]), [])
-
- KDE_CXXFLAGS=
- AC_SUBST(KDE_CXXFLAGS)
])
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic