diff options
author | Kinsey Moore <kmoore@digium.com> | 2012-04-12 15:25:47 +0000 |
---|---|---|
committer | Kinsey Moore <kmoore@digium.com> | 2012-04-12 15:25:47 +0000 |
commit | 8696daadf8c129d92c52b85d471fcacca9e50a85 (patch) | |
tree | ee347b0c1323438d9fcc9e7662d1ced2eb87a401 /build_tools/cflags.xml | |
parent | 683eacb59a2d322d57c4c9bd9f6e22501c2c244b (diff) |
Simplify build system architecture optimization
This change to the build system rips out any usage of PROC along with
architecture-specific optimizations in favor of using -march=native where it is
supported. This fixes broken builds on 64bit Intel systems and results in
better optimized code on systems running GCC 4.2+.
Review: https://reviewboard.asterisk.org/r/1852/
(closes issue ASTERISK-19462)
........
Merged revisions 361955 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 361956 from http://svn.asterisk.org/svn/asterisk/branches/10
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@361968 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'build_tools/cflags.xml')
-rw-r--r-- | build_tools/cflags.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/build_tools/cflags.xml b/build_tools/cflags.xml index c8822013a..4396b4773 100644 --- a/build_tools/cflags.xml +++ b/build_tools/cflags.xml @@ -71,4 +71,9 @@ <member name="INTEGER_CALLERID" displayname="Use the (less accurate) integer-based method for decoding FSK tones (for embedded systems)"> <support_level>extended</support_level> </member> + <member name="BUILD_NATIVE" displayname="Allow compiler to generate code optimized for the CPU on which the build is performed."> + <support_level>core</support_level> + <defaultenabled>yes</defaultenabled> + <depend>native_arch</depend> + </member> </category> |