Changeset 75c73d in git
- Timestamp:
- Aug 19, 2013, 3:08:37 PM (10 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
- Children:
- b7fff13eb84ea92ac54d85a8d0f6159755519832
- Parents:
- e7af713b2118666efd56a51c8fd09dcc0b99e0ee
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
m4/flags.m4
re7af71 r75c73d 104 104 105 105 if test "x${ENABLE_OPTIMIZATION}" != xno; then 106 OPTFLAGS="-DOM_NDEBUG -DNDEBUG -O 2 -Wno-unused-function -Wno-unused-parameter -Wno-unused-variable -fomit-frame-pointer -fwrapv -fpermissive -fvisibility=default"106 OPTFLAGS="-DOM_NDEBUG -DNDEBUG -O3 -Wno-unused-function -Wno-unused-parameter -Wno-unused-variable -fomit-frame-pointer -fwrapv -fvisibility=default -finline-functions -fno-exceptions -fno-rtti -fno-threadsafe-statics -fno-enforce-eh-specs -fconserve-space" 107 107 # -O3 - crashes gcc???!!! 108 # -fpermissive 108 109 AC_LANG_PUSH([C]) 109 110 AX_APPEND_COMPILE_FLAGS(${OPTFLAGS}, [CFLAGS]) … … 111 112 AC_LANG_PUSH([C++]) 112 113 AX_APPEND_COMPILE_FLAGS(${OPTFLAGS}, [CXXFLAGS]) 113 AX_APPEND_COMPILE_FLAGS([-fno-exceptions -fno-rtti -fpermissive], [CXXFLAGS])114 #AX_APPEND_COMPILE_FLAGS([-fno-implicit-templates], [CXXFLAGS]) # problems due to STL114 # AX_APPEND_COMPILE_FLAGS([-fno-threadsafe-statics -fno-enforce-eh-specs -fconserve-space], [CXXFLAGS]) 115 ### AX_APPEND_COMPILE_FLAGS([-fno-implicit-templates], [CXXFLAGS]) # problems due to STL 115 116 AC_LANG_POP([C++]) 116 117 AX_APPEND_LINK_FLAGS(${OPTFLAGS}) 117 AX_APPEND_LINK_FLAGS([-fno-exceptions -fno-rtti -fpermissive]) 118 # AX_APPEND_LINK_FLAGS([-fno-implicit-templates]) # see above :( 119 AX_APPEND_LINK_FLAGS([ -fpermissive -fvisibility=default]) 118 # AX_APPEND_LINK_FLAGS([-fno-threadsafe-statics -fno-enforce-eh-specs -fconserve-space]) 119 ### AX_APPEND_LINK_FLAGS([-fno-implicit-templates]) # see above :( 120 120 # AX_APPEND_LINK_FLAGS([ ]) 121 121 fi
Note: See TracChangeset
for help on using the changeset viewer.