Browse Source

Clifford Wolf:


			
			
				rocklinux
			
			
		
Clifford Wolf 20 years ago
parent
commit
547dc4006a
3 changed files with 8 additions and 4 deletions
  1. +3
    -1
      architecture/x86/gcc-options
  2. +4
    -1
      package/base/gcc/parse-config
  3. +1
    -2
      package/rene/ffmpeg/ffmpeg.conf

+ 3
- 1
architecture/x86/gcc-options

@ -4,7 +4,6 @@ case "$ROCKCFG_X86_OPT" in
via-c3)
var_append GCC3_WRAPPER_INSERT " " "-march=k62" ;;
via-c3-improved)
#var_append GCC3_WRAPPER_INSERT " " "-s -O3 -march=i686 -fomit-frame-pointer -falign-functions=4 -funroll-loops -fexpensive-optimizations -malign-double -fschedule-insns2" ;;
var_append GCC3_WRAPPER_INSERT " " "-march=i686" ;;
via-c3-2)
var_append GCC3_WRAPPER_INSERT " " "-march=pentium-mmx" ;;
@ -33,3 +32,6 @@ case "$ROCKCFG_X86_OPT" in
var_append GCC2_WRAPPER_INSERT " " "-march=i686" ;;
esac
# remove other -march and -mcpu options from the argument list
var_insert GCC_WRAPPER_REMOVE " " "-march=* -mcpu=*"

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

@ -80,7 +80,10 @@ else
var_insert GCC_WRAPPER_REMOVE " " "-s -g*"
fi
fi
var_insert GCC_WRAPPER_REMOVE " " "-O -O[0-9s] -m*"
# remove other -O options from the argument list
var_insert GCC_WRAPPER_REMOVE " " "-O -O[0-9s]"
case "$ROCKCFG_OPT" in
smart)
var_insert GCC_WRAPPER_INSERT " " "-SPEED-O2 -SIZE-Os -pipe"

+ 1
- 2
package/rene/ffmpeg/ffmpeg.conf

@ -25,6 +25,5 @@ pkginstalled lame && var_append extraconfopt " " "--enable-mp3lame"
pkginstalled ogg-vorbis && var_append extraconfopt " " "--enable-vorbis"
pkginstalled a52dec && var_append extraconfopt " " "--enable-a52 --enable-gpl"
# MMX optimizations currently don't compile (version 0.4.8)
var_append confopt " " "--disable-mmx --enable-shared --enable-pp"
var_append confopt " " "--enable-shared --enable-pp"

Loading…
Cancel
Save