Changeset 25570


Ignore:
Timestamp:
09/14/20 13:52:41 (5 years ago)
Author:
Mathieu Morlighem
Message:

CHG: force c++11 by default

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/m4/issm_options.m4

    r25542 r25570  
    24742474        dnl other options
    24752475        dnl optimization{{{
    2476         dnl -- bypass standard optimization -g -O2 -fPIC ?
     2476        dnl -- bypass standard optimization -g -O2 -fPIC -std=c++11?
    24772477        AC_ARG_WITH(
    24782478                [cxxoptflags],
    2479                 AS_HELP_STRING([--with-cxxoptflags=CXXOPTFLAGS], [C++ optimization flags (i.e. --with-cxxoptflags="-march=opteron -O3"]),
     2479                AS_HELP_STRING([--with-cxxoptflags=CXXOPTFLAGS], [C++ optimization flags (i.e. --with-cxxoptflags="-march=opteron -O3 -std=c++11 "]),
    24802480                [CXXOPTFLAGS=${withval}],
    2481                 [CXXOPTFLAGS="-g -O2 -fPIC"]
     2481                [CXXOPTFLAGS="-g -O2 -fPIC -std=c++11"]
    24822482        )
    24832483        AC_MSG_CHECKING(for C++ optimization flags)
Note: See TracChangeset for help on using the changeset viewer.