| commit | 943283f767ce99729295bf9d47c3c369d9f8d824 | [log] [tgz] |
|---|---|---|
| author | Hung-Te Lin <[email protected]> | Fri May 23 10:31:22 2014 |
| committer | chrome-internal-fetch <[email protected]> | Sat May 24 05:09:00 2014 |
| tree | 70fce46b2856e8c59d8d7e614c89620fe7538057 | |
| parent | 9bd2af866a0a707db46dbd20f6ab8a1825b78f41 [diff] |
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 <[email protected]> Reviewed-by: Mike Frysinger <[email protected]> Reviewed-by: David Hendricks <[email protected]> Commit-Queue: Hung-Te Lin <[email protected]>