Changeset 5fdf7a in git for dyn_modules


Ignore:
Timestamp:
Jan 10, 2013, 11:00:55 AM (11 years ago)
Author:
Max Horn <max@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
d101b165f063c8f437a101b437baa6095a596422
Parents:
80c703d0b975055386088b85c7bcdd5c7684adc0
git-author:
Max Horn <max@quendi.de>2013-01-10 11:00:55+01:00
git-committer:
Oleksandr Motsak <http://goo.gl/mcpzY>2013-01-10 16:45:07+01:00
Message:
Replace --no-{rtti,exceptions} by -fno-{rtti,exceptions}

This improves compatibility with clang. Moreover, to the best
of my knowledge, the --no-* variants are undocumented to start with.
At least the GCC manuals for all versions from 2.95.3 till 4.7.2
only list the -fno-* variants, as far as I could tell.
Location:
dyn_modules
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • dyn_modules/bigintm/Makefile.am

    r80c703 r5fdf7a  
    1212
    1313CXXTEMPLFLAGS   = ${PIPE}
    14 ## -fno-implicit-templates
    15 ## --no-exceptions
    1614
    1715DEBUGCXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${CXXTEMPLFLAGS}
    1816
    19 NODEBUGCFLAGS   = -O3 -w -fomit-frame-pointer ${PIPE} 
    20 NODEBUGCXXFLAGS = -O3 -w -fomit-frame-pointer ${CXXTEMPLFLAGS}
    21 ##  --no-rtti ?
     17NODEBUGCFLAGS   = -O3 -w -fomit-frame-pointer ${PIPE}
     18NODEBUGCXXFLAGS = -O3 -w -fomit-frame-pointer ${CXXTEMPLFLAGS} -fno-exceptions -fno-rtti
     19## -fno-implicit-templates?
    2220NODEBUGDEFS = -DNDEBUG -DOM_NDEBUG
    2321
  • dyn_modules/bigintm/SConstruct

    r80c703 r5fdf7a  
    1818#env.SharedObject(target = 'mod_main.o', source = 'mod_main.cc')
    1919
    20 CXXTEMPLFLAGS = "-fno-implicit-templates --no-exceptions"
     20CXXTEMPLFLAGS = "-fno-implicit-templates -fno-exceptions"
    2121
    2222if env ['PLATFORM'] == "darwin":
     
    5050        CPPPATH = SING_INCLUDES,
    5151        CPPDEFINES = ["NDEBUG", "OM_NDEBUG"],
    52         CXXFLAGS = "-O3 -fomit-frame-pointer --no-rtti " + CXXTEMPLFLAGS,
     52        CXXFLAGS = "-O3 -fomit-frame-pointer -fno-rtti " + CXXTEMPLFLAGS,
    5353        CCFLAGS="-O3 -fomit-frame-pointer ",
    5454        LDMODULEFLAGS = BUNDLETEMPFLAGS,
  • dyn_modules/modgen/Makefile.in

    r80c703 r5fdf7a  
    4545## compiler and linker options
    4646##
    47 CFLAGS  += --no-rtti --no-exceptions -O3 -w -fomit-frame-pointer -pipe -fno-implicit-templates \
     47CFLAGS  += -fno-rtti -fno-exceptions -O3 -w -fomit-frame-pointer -pipe -fno-implicit-templates \
    4848        -g -I${includedir} -I../include -I${topsrcdir}/.. -DNDEBUG -DMODULE_GENERATOR \
    4949        -D${SING_UNAME}
  • dyn_modules/syzextra/Makefile.am

    r80c703 r5fdf7a  
    1313CXXTEMPLFLAGS   = ${PIPE}
    1414## -fno-implicit-templates
    15 ## --no-exceptions
    1615
    1716DEBUGCXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${CXXTEMPLFLAGS}
    1817
    1918NODEBUGCFLAGS   = -O3 -w -fomit-frame-pointer ${PIPE}
    20 NODEBUGCXXFLAGS = -O3 -w -fomit-frame-pointer ${CXXTEMPLFLAGS}
    21 ##  --no-rtti ?
     19NODEBUGCXXFLAGS = -O3 -w -fomit-frame-pointer ${CXXTEMPLFLAGS} -fno-rtti -fno-exceptions
     20
    2221NODEBUGDEFS = -DNDEBUG -DOM_NDEBUG
    2322
  • dyn_modules/syzextra/SConstruct

    r80c703 r5fdf7a  
    1818#env.SharedObject(target = 'mod_main.o', source = 'mod_main.cc')
    1919
    20 CXXTEMPLFLAGS = "-fno-implicit-templates --no-exceptions"
     20CXXTEMPLFLAGS = "-fno-implicit-templates -fno-exceptions"
    2121
    2222if env ['PLATFORM'] == "darwin":
     
    5050        CPPPATH = SING_INCLUDES,
    5151        CPPDEFINES = ["NDEBUG", "OM_NDEBUG"],
    52         CXXFLAGS = "-O3 -fomit-frame-pointer --no-rtti " + CXXTEMPLFLAGS,
     52        CXXFLAGS = "-O3 -fomit-frame-pointer -fno-rtti " + CXXTEMPLFLAGS,
    5353        CCFLAGS="-O3 -fomit-frame-pointer ",
    5454        LDMODULEFLAGS = BUNDLETEMPFLAGS,
Note: See TracChangeset for help on using the changeset viewer.