make/autoconf/flags-cflags.m4
branchihse-cflags-rewrite-branch
changeset 56161 a7585ecb9fc2
parent 56158 97b2b2de66f2
child 56162 d421dac1932f
equal deleted inserted replaced
56158:97b2b2de66f2 56161:a7585ecb9fc2
   167     CFLAGS_DEBUG_SYMBOLS="-Zi"
   167     CFLAGS_DEBUG_SYMBOLS="-Zi"
   168     CXXFLAGS_DEBUG_SYMBOLS="-Zi"
   168     CXXFLAGS_DEBUG_SYMBOLS="-Zi"
   169   fi
   169   fi
   170   AC_SUBST(CFLAGS_DEBUG_SYMBOLS)
   170   AC_SUBST(CFLAGS_DEBUG_SYMBOLS)
   171   AC_SUBST(CXXFLAGS_DEBUG_SYMBOLS)
   171   AC_SUBST(CXXFLAGS_DEBUG_SYMBOLS)
       
   172 
       
   173   # FIXME: This was never used in the old build. What to do with it?
       
   174   if test "x$TOOLCHAIN_TYPE" = xgcc; then
       
   175     # "-Og" suppported for GCC 4.8 and later
       
   176     CFLAG_OPTIMIZE_DEBUG_FLAG="-Og"
       
   177     FLAGS_COMPILER_CHECK_ARGUMENTS(ARGUMENT: [$CFLAG_OPTIMIZE_DEBUG_FLAG],
       
   178       IF_TRUE: [HAS_CFLAG_OPTIMIZE_DEBUG=true],
       
   179       IF_FALSE: [HAS_CFLAG_OPTIMIZE_DEBUG=false])
       
   180   fi
       
   181 
   172 ])
   182 ])
   173 
   183 
   174 AC_DEFUN([FLAGS_SETUP_QUALITY_CHECKS],
   184 AC_DEFUN([FLAGS_SETUP_QUALITY_CHECKS],
   175 [
   185 [
   176   # bounds, memory and behavior checking options
   186   # bounds, memory and behavior checking options