Browse Source

gcc: removed "smart" optimization handling

karasz/new-early
Alejandro Mery 16 years ago committed by Alejandro Mery
parent
commit
dbeae97b6a
  1. 6
      base/gcc/parse-config

6
base/gcc/parse-config

@ -3,6 +3,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: package/.../gcc/parse-config # Filename: package/.../gcc/parse-config
# Copyright (C) 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf # Copyright (C) 1998 - 2003 Clifford Wolf
# #
@ -80,11 +81,6 @@ var_insert GCC_WRAPPER_REMOVE " " "-O -O[0-9s] -mtune* -march* -mcpu*"
var_insert SYSGCC_WRAPPER_REMOVE " " "-O -O[0-9s] -mtune* -march* -mcpu*" var_insert SYSGCC_WRAPPER_REMOVE " " "-O -O[0-9s] -mtune* -march* -mcpu*"
case "$SDECFG_OPT" in case "$SDECFG_OPT" in
smart)
var_insert GCC_WRAPPER_INSERT " " "-SPEED-O2 -SIZE-Os"
var_insert GCC_WRAPPER_FILTER "|" "gawk -f $base/misc/tools-source/smartwr.awk $base/scripts/smart_db.txt -"
#SYSGCC - though smart is phasing out
;;
speed) speed)
var_insert GCC_WRAPPER_INSERT " " "-O2" var_insert GCC_WRAPPER_INSERT " " "-O2"
var_insert SYSGCC_WRAPPER_INSERT " " "-O2" var_insert SYSGCC_WRAPPER_INSERT " " "-O2"

Loading…
Cancel
Save