Changeset 2120


Ignore:
Timestamp:
Dec 13, 2009, 4:58:07 AM (12 years ago)
Author:
Peter
Message:

fix so -Wno-long-long is turned on when included boost header use long long, avoid unneeded correlation in configure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r2119 r2120  
    251251# with -Wno-long-long
    252252yat_save_CXXFLAGS=$CXXFLAGS
    253 # use -pedantic and friends in CXXFLAGS temporarily
    254 CXXFLAGS="$AM_CXXFLAGS $CXXFLAGS"
    255253# turn warnings into errors
    256 YAT_CXX_ADD_FLAG([CXXFLAGS], [-Werror])
     254YAT_CXX_ADD_FLAG([CXXFLAGS], [-pedantic-errors])
    257255AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
    258256  [
     
    269267  ])],
    270268[],
    271 [YAT_CXX_ADD_FLAG([AM_CXXFLAGS], [-Wno-long-long])])
     269[YAT_CXX_ADD_FLAG([INTERNAL_CXXFLAGS], [-Wno-long-long])])
    272270# restore CXXFLAGS
    273271CXXFLAGS=$yat_save_CXXFLAGS
Note: See TracChangeset for help on using the changeset viewer.