Changeset 3fcbdca1 for libcfa


Ignore:
Timestamp:
Apr 26, 2019, 4:58:42 PM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
1bc5975
Parents:
114936a
Message:

Moved compilation to use O3/Og instead of O2/O0 for both cfa-cpp and libcfa

Location:
libcfa
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libcfa/configure

    r114936a r3fcbdca1  
    29592959case $CONFIGURATION in
    29602960        "debug"   )
    2961                 CONFIG_CFLAGS="-O0 -g"
     2961                CONFIG_CFLAGS="-Og -g"
    29622962                CONFIG_CFAFLAGS="-debug"
    29632963                CONFIG_BUILDLIB="yes"
    29642964        ;;
    29652965        "nodebug" )
    2966                 CONFIG_CFLAGS="-O2 -s"
     2966                CONFIG_CFLAGS="-O3 -s"
    29672967                CONFIG_CFAFLAGS="-nodebug"
    29682968                CONFIG_BUILDLIB="yes"
    29692969        ;;
    29702970        "nolib"   )
    2971                 CONFIG_CFLAGS="-O2 -s"
     2971                CONFIG_CFLAGS="-O3 -s"
    29722972                CONFIG_CFAFLAGS="-nolib"
    29732973                CONFIG_BUILDLIB="no"
     2974        ;;
     2975        "profile" )
     2976                CONFIG_CFLAGS="-O3 -g -fno-omit-frame-pointer"
     2977                CONFIG_CFAFLAGS="-nodebug"
     2978                CONFIG_BUILDLIB="yes"
    29742979        ;;
    29752980        *)
  • libcfa/configure.ac

    r114936a r3fcbdca1  
    4545case $CONFIGURATION in
    4646        "debug"   )
    47                 CONFIG_CFLAGS="-O0 -g"
     47                CONFIG_CFLAGS="-Og -g"
    4848                CONFIG_CFAFLAGS="-debug"
    4949                CONFIG_BUILDLIB="yes"
    5050        ;;
    5151        "nodebug" )
    52                 CONFIG_CFLAGS="-O2 -s"
     52                CONFIG_CFLAGS="-O3 -s"
    5353                CONFIG_CFAFLAGS="-nodebug"
    5454                CONFIG_BUILDLIB="yes"
    5555        ;;
    5656        "nolib"   )
    57                 CONFIG_CFLAGS="-O2 -s"
     57                CONFIG_CFLAGS="-O3 -s"
    5858                CONFIG_CFAFLAGS="-nolib"
    5959                CONFIG_BUILDLIB="no"
     60        ;;
     61        "profile" )
     62                CONFIG_CFLAGS="-O3 -g -fno-omit-frame-pointer"
     63                CONFIG_CFAFLAGS="-nodebug"
     64                CONFIG_BUILDLIB="yes"
    6065        ;;
    6166        *)
Note: See TracChangeset for help on using the changeset viewer.