[asterisk-bugs] [LibPRI 0012676]: [patch] Allow custom CPU optimization flags

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Aug 18 16:00:04 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=12676 
====================================================================== 
Reported By:                tzafrir
Assigned To:                mattf
====================================================================== 
Project:                    LibPRI
Issue ID:                   12676
Category:                   NewFeature
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 559 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-05-18 05:40 CDT
Last Modified:              2009-08-18 16:00 CDT
====================================================================== 
Summary:                    [patch] Allow custom CPU optimization flags
Description: 
libpri does not allow passing CPU optimization flags in the build command.
This means an extra patch is required in e.g. Debian for that. The current
default is to build without optimization (unless in sparc64).

The attached patch allows settign optimization flags using the make
variable LIBPRI_OPT. e.g.:

  make LIBPRI_OPT="-O911 -mcpu-cray"
====================================================================== 

---------------------------------------------------------------------- 
 (0109246) svnbot (reporter) - 2009-08-18 16:00
 https://issues.asterisk.org/view.php?id=12676#c109246 
---------------------------------------------------------------------- 
Repository: libpri
Revision: 976

U   branches/1.4/Makefile

------------------------------------------------------------------------
r976 | jpeeler | 2009-08-18 16:00:03 -0500 (Tue, 18 Aug 2009) | 10 lines

Allow custom CPU optimization flags 

Added make variable LIBPRI_OPT to set optimization level. By default the
optimization level is now set to -O2.

(closes issue https://issues.asterisk.org/view.php?id=12676)
Reported by: tzafrir
Patches:
      libpri_opt.diff uploaded by tzafrir (license 46)

------------------------------------------------------------------------

http://svn.digium.com/view/libpri?view=rev&revision=976 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-18 16:00 svnbot         Checkin                                      
2009-08-18 16:00 svnbot         Note Added: 0109246                          
======================================================================




More information about the asterisk-bugs mailing list