You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This patch allows the 'optimize' parameter to be a string as well as an integer. If it's a string, the string will be passed on as CXXFLAGS. This is useful for distributions which have standard build parameters that are required to be used for all packages (I wrote the patch for the Mandriva package).
You might want to take a different approach to this - add a new parameter, for instance - but the essence of the patch would be a good thing to have.
I also noticed while writing this patch that passing optimize=0 is not optimally handled in the Linux case. It will print "Optimizations enabled..." (as 0 is an integer) but not actually enable any optimizations. I did not address this in my patch, but it's something you might want to fix.
The text was updated successfully, but these errors were encountered:
Reported by: awilliamson
Date: 2008-03-09T17:11:03Z
Status: Won't Fix
Importance: Low
Launchpad Issue: lp200253
Attachments: [Patch to allow arbitrary optflags](https://bugs.launchpad.net/bugs/200253/+attachment/225726/+files/Patch to allow arbitrary optflags)
This patch allows the 'optimize' parameter to be a string as well as an integer. If it's a string, the string will be passed on as CXXFLAGS. This is useful for distributions which have standard build parameters that are required to be used for all packages (I wrote the patch for the Mandriva package).
You might want to take a different approach to this - add a new parameter, for instance - but the essence of the patch would be a good thing to have.
I also noticed while writing this patch that passing optimize=0 is not optimally handled in the Linux case. It will print "Optimizations enabled..." (as 0 is an integer) but not actually enable any optimizations. I did not address this in my patch, but it's something you might want to fix.
The text was updated successfully, but these errors were encountered: