Changeset 1401


Ignore:
Timestamp:
Oct 20, 2011, 4:48:06 AM (9 years ago)
Author:
Peter Johansson
Message:

turn on -pedantic only in --enable-debug mode. refs #506

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.9-stable/configure.ac

    r1259 r1401  
    1313# Copyright (C) 2006 Jari Häkkinen
    1414# Copyright (C) 2007, 2008, 2009, 2010 Jari Häkkinen, Peter Johansson
     15# Copyright (C) 2011 Peter Johansson
    1516#
    1617# This file is part of svndigest, http://dev.thep.lu.se/svndigest
     
    118119# using extension beyond the C++ standard (usage of non C++ standard
    119120# 'long long' types).
    120 YAT_CXX_ADD_FLAG([CXXFLAGS],[-pedantic -Wno-long-long])
     121YAT_CXX_ADD_FLAG([CXXFLAGS],[-Wno-long-long])
    121122AC_TYPE_LONG_LONG_INT
    122123AS_IF([test x$ac_cv_type_long_long_int = xno],
     
    128129
    129130AS_IF([test x$enable_debug = xyes],
    130   [YAT_CXX_ADD_FLAG([CXXFLAGS],[-g -O])],
     131  [YAT_CXX_ADD_FLAG([CXXFLAGS],[-pedantic -g -O])],
    131132  [YAT_CPP_ADD_FLAG([CPPFLAGS],[-DNDEBUG])
    132133   YAT_CXX_ADD_FLAG([CXXFLAGS],[-O3])])
Note: See TracChangeset for help on using the changeset viewer.