Changeset eb0951d0


Ignore:
Timestamp:
May 31, 2017, 1:46:19 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
13932f14
Parents:
759908f
Message:

Refacted some of the CXXFLAGS and added c++14 and Werror

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • configure

    r759908f reb0951d0  
    24962496
    24972497
    2498 if test "x${CXXFLAGS}" = "x"; then
    2499    export CXXFLAGS="-std=c++11 -g ${CXXFLAGS}"  # defaults, no -O2 for debugging and failures
    2500 else
    2501    export CXXFLAGS="-std=c++11 ${CXXFLAGS}"     # flags from configure command
    2502 fi
    2503 
    25042498am__api_version='1.11'
    25052499
  • configure.ac

    r759908f reb0951d0  
    88AC_CONFIG_HEADERS([config.h])
    99AM_SILENT_RULES([no])
    10 
    11 if test "x${CXXFLAGS}" = "x"; then
    12    export CXXFLAGS="-std=c++11 -g ${CXXFLAGS}"  # defaults, no -O2 for debugging and failures
    13 else
    14    export CXXFLAGS="-std=c++11 ${CXXFLAGS}"     # flags from configure command
    15 fi
    1610
    1711AM_INIT_AUTOMAKE
  • src/Makefile.am

    r759908f reb0951d0  
    4343driver_cfa_cpp_SOURCES = ${SRC}
    4444driver_cfa_cpp_LDADD = ${LEXLIB} -ldl                   # yywrap
    45 driver_cfa_cpp_CXXFLAGS = -Wno-deprecated -Wall -DDEBUG_ALL -I${abs_top_srcdir}/src/include -DYY_NO_INPUT -O2
     45driver_cfa_cpp_CXXFLAGS = -Wno-deprecated -Wall -Werror -DDEBUG_ALL -I${abs_top_srcdir}/src/include -DYY_NO_INPUT -O2 -g -std=c++14
    4646driver_cfa_cpp_LDFLAGS = -Xlinker -export-dynamic
    4747
  • src/Makefile.in

    r759908f reb0951d0  
    447447driver_cfa_cpp_SOURCES = ${SRC}
    448448driver_cfa_cpp_LDADD = ${LEXLIB} -ldl                   # yywrap
    449 driver_cfa_cpp_CXXFLAGS = -Wno-deprecated -Wall -DDEBUG_ALL -I${abs_top_srcdir}/src/include -DYY_NO_INPUT -O2
     449driver_cfa_cpp_CXXFLAGS = -Wno-deprecated -Wall -Werror -DDEBUG_ALL -I${abs_top_srcdir}/src/include -DYY_NO_INPUT -O2 -g -std=c++14
    450450driver_cfa_cpp_LDFLAGS = -Xlinker -export-dynamic
    451451all: $(BUILT_SOURCES)
  • src/driver/Makefile.am

    r759908f reb0951d0  
    1616
    1717# applies to both programs
    18 AM_CXXFLAGS = -Wall -O2
     18AM_CXXFLAGS = -Wall -O2 -g -std=c++14
    1919if BUILD_NO_LIB
    2020else
  • src/driver/Makefile.in

    r759908f reb0951d0  
    208208
    209209# applies to both programs
    210 AM_CXXFLAGS = -Wall -O2 $(am__append_1) $(am__append_2) \
     210AM_CXXFLAGS = -Wall -O2 -g -std=c++14 $(am__append_1) $(am__append_2) \
    211211        $(am__append_3)
    212212cfa_SOURCES = cfa.cc
Note: See TracChangeset for help on using the changeset viewer.