Browse Source

Clifford Wolf:


			
			
				rocklinux
			
			
		
Clifford Wolf 21 years ago
parent
commit
3a921de2dc
3 changed files with 15 additions and 2 deletions
  1. +11
    -1
      package/base/gcc/parse-config
  2. +2
    -1
      scripts/config.in
  3. +2
    -0
      target/reference/config.in

+ 11
- 1
package/base/gcc/parse-config

@ -101,7 +101,17 @@ case "$ROCKCFG_OPT" in
var_insert GCC_WRAPPER_INSERT " " "-Os -pipe"
;;
lazy)
var_insert GCC_WRAPPER_INSERT " " "-O -pipe"
var_insert GCC_WRAPPER_INSERT " " "-O1 -pipe"
;;
test)
case "$pkg" in
gcc*|glibc*|binutils*|make|bzip2|gzip|coreutils|bash*|gawk|sed)
var_insert GCC_WRAPPER_INSERT " " "-Os -pipe"
;;
*)
var_insert GCC_WRAPPER_INSERT " " "-O1 -pipe"
;;
esac
;;
esac

+ 2
- 1
scripts/config.in

@ -363,7 +363,8 @@ break packages!'
bizarre 'Inverse smart optimisation (this is bizarre)' \
speed 'Hard optimise for speed (often pretty slow)' \
size 'Hard optimise for size (recommended)' \
lazy 'Lazy optimisiation (for debugging binaries)'
lazy 'Lazy optimisiation (for debugging binaries)' \
test 'Only optimize toolchain (for fast builds)'
bool 'Create binaries with debug symbols' ROCKCFG_DEBUG 0
bool 'Create statically linked binaries' ROCKCFG_STATIC 0

+ 2
- 0
target/reference/config.in

@ -24,3 +24,5 @@ block_begin 0
comment '-- WARNING: This target is for internal use only!'
block_end
ROCKCFGSET_OPT='test'

Loading…
Cancel
Save