Changeset 5fdf7a in git for Singular/configure.SAVE


Ignore:
Timestamp:
Jan 10, 2013, 11:00:55 AM (11 years ago)
Author:
Max Horn <max@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
d101b165f063c8f437a101b437baa6095a596422
Parents:
80c703d0b975055386088b85c7bcdd5c7684adc0
git-author:
Max Horn <max@quendi.de>2013-01-10 11:00:55+01:00
git-committer:
Oleksandr Motsak <http://goo.gl/mcpzY>2013-01-10 16:45:07+01:00
Message:
Replace --no-{rtti,exceptions} by -fno-{rtti,exceptions}

This improves compatibility with clang. Moreover, to the best
of my knowledge, the --no-* variants are undocumented to start with.
At least the GCC manuals for all versions from 2.95.3 till 4.7.2
only list the -fno-* variants, as far as I could tell.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/configure.SAVE

    r80c703 r5fdf7a  
    13561356cross_compiling=$ac_cv_prog_cxx_cross
    13571357
    1358   # check whether gcc accepts --no-rtti
    1359   echo $ac_n "checking whether gcc accepts --no-rtti""... $ac_c" 1>&6
    1360 echo "configure:1361: checking whether gcc accepts --no-rtti" >&5
    1361   CXXFLAGS="${CXXFLAGS} --no-rtti"
     1358  # check whether gcc accepts -fno-rtti
     1359  echo $ac_n "checking whether gcc accepts -fno-rtti""... $ac_c" 1>&6
     1360echo "configure:1361: checking whether gcc accepts -fno-rtti" >&5
     1361  CXXFLAGS="${CXXFLAGS} -fno-rtti"
    13621362  if eval "test \"`echo '$''{'ac_cv_cxx_have_rtti'+set}'`\" = set"; then
    13631363  echo $ac_n "(cached) $ac_c" 1>&6
     
    13881388    CXXFLAGS="$temp_flags"
    13891389  else
    1390     CXXFLAGS="${temp_flags} --no-rtti"
     1390    CXXFLAGS="${temp_flags} -fno-rtti"
    13911391    temp_flags="${CXXFLAGS}"
    13921392  fi
    13931393
    1394 # check whether gcc accepts --no-exceptions
    1395   echo $ac_n "checking whether gcc accepts --no-exceptions""... $ac_c" 1>&6
    1396 echo "configure:1397: checking whether gcc accepts --no-exceptions" >&5
    1397   CXXFLAGS="${CXXFLAGS} --no-exceptions"
     1394# check whether gcc accepts -fno-exceptions
     1395  echo $ac_n "checking whether gcc accepts -fno-exceptions""... $ac_c" 1>&6
     1396echo "configure:1397: checking whether gcc accepts -fno-exceptions" >&5
     1397  CXXFLAGS="${CXXFLAGS} -fno-exceptions"
    13981398  if eval "test \"`echo '$''{'ac_cv_cxx_have_exceptions'+set}'`\" = set"; then
    13991399  echo $ac_n "(cached) $ac_c" 1>&6
     
    14241424    CXXFLAGS="$temp_flags"
    14251425  else
    1426     CXXFLAGS="${temp_flags} --no-exceptions"
     1426    CXXFLAGS="${temp_flags} -fno-exceptions"
    14271427    temp_flags="${CXXFLAGS}"
    14281428  fi
     
    15231523  temp_flags="${CXXFLAGS}"
    15241524  if test "${ac_cv_cxx_have_rtti}" = yes; then
    1525     CXXFLAGS="${temp_flags} --no-rtti"
     1525    CXXFLAGS="${temp_flags} -fno-rtti"
    15261526  fi
    15271527  temp_flags="${CXXFLAGS}"
    15281528  CXXTEMPLFLAGS="-fno-implicit-templates"
    15291529  if test "${ac_cv_cxx_have_exceptions}" = yes; then
    1530     CXXTEMPLFLAGS="${CXXTEMPLFLAGS} --no-exceptions"
     1530    CXXTEMPLFLAGS="${CXXTEMPLFLAGS} -fno-exceptions"
    15311531  fi
    15321532  if test "$ac_cv_is_aix" = yes; then
Note: See TracChangeset for help on using the changeset viewer.