Append the flags specified with --cflags instead of replacing when building gcc.

By default emerge provide `portageq envvar CFLAGS` as CFLAGS to gcc building.
When CFLAGS is provided when calling emerge, it will replace the default CFLAGS.
This patch prepend `portageq envvar CFLAGS` to --cflags options.

It also fixed a bug for option --ldflags.

TESTED:
./build_tc.py -b x86-alex -c ~/cros1/ --cflags="-g3 -O0" -g ~/gcc47cros/ > log2
And look at the command line to ensure "-g3 -O0" is appended to the default options "-O2 -pipe".

PRESUBMIT=passed
R=yunlian,asharif,cmtice,shenhan,llozano
CC=c-compiler-chrome
APPROVED=llozano
DELTA=3  (0 added, 0 deleted, 3 changed)
OCL=65657-p2
RCL=65664-p2
RDATE=2013/02/05 11:00:56


P4 change: 42807183
1 file changed
tree: f138833cf071ad87e49beb99ce8a7b3d20c3bccb
  1. .git5_specs/
  2. v14/