Fix FT2232 feature on static builds.

When using pkg-config to determine build flags, we have to add --static for
static builds otherwise some libraries may fail.

For example, FT2232 relies on pkg-config. Without --static, Makefile will fail
to build the testing program and report "libftdi not found", due to lack of some
parameters like "-pthread" and "-lrt".

BUG=none
TEST=Run: USE=static emerge-rambi flashrom
BRANCH=none

Change-Id: I70d4a7bda573b64cb18429a21792455b018c4cba
Reviewed-on: https://chromium-review.googlesource.com/201217
Tested-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Reviewed-by: David Hendricks <dhendrix@chromium.org>
Commit-Queue: Hung-Te Lin <hungte@chromium.org>
1 file changed