[Lunar-commits] <moonbase-core> gcc: default optimize Fast + Pipe Fortify

Peter de Ridder peter at lunar-linux.org
Fri Jun 7 10:40:38 CEST 2013


commit b9abb16d80b585a774befee2d566cdadd244c700
Author: Peter de Ridder <peter at lunar-linux.org>
Date: Fri, 07 Jun 2013 01:36:24 -0700
URL: https://github.com/lunar-linux/moonbase-core/commit/b9abb16d80b585a774befee2d566cdadd244c700

gcc: default optimize Fast + Pipe Fortify
---
  compilers/gcc/plugin.d/optimize-gcc_4_8.plugin | +4/-0     
  1 file changed, 4 insertions(+)

--- a/compilers/gcc/plugin.d/optimize-gcc_4_8.plugin
+++ b/compilers/gcc/plugin.d/optimize-gcc_4_8.plugin
@@ -8,6 +8,10 @@ plugin_compiler_gcc_4_8_optimize()
     return 2
   fi
 
+  # default optimizations
+  BOPT=Fast
+  CC_OPTS=( Pipe Fortify )
+
   debug_msg "plugin_compiler_gcc_4_8_optimize($@)"
   if [ -f /etc/lunar/local/optimizations.GCC_4_8 ]; then
     . /etc/lunar/local/optimizations.GCC_4_8




More information about the Lunar-commits mailing list