mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
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
This commit is contained in:
@@ -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>
|
||||
|
@@ -66,3 +66,4 @@ VPB=@PBX_VPB@
|
||||
WINARCH=@PBX_WINARCH@
|
||||
ZLIB=@PBX_ZLIB@
|
||||
TIMERFD=@PBX_TIMERFD@
|
||||
NATIVE_ARCH=@AST_NATIVE_ARCH@
|
||||
|
Reference in New Issue
Block a user