forked from tpm2-software/tpm2-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Build common sources into library.
We were building every object into every executable which is pretty inefficient. By building these common files into a library we the linker will selectively pull in the bits we need. You can see this just in the decreased size of the binaries we generate. Before this patch the tpm2_verifysigniture executable weighed in at 162392. After this patch it was over 20k smaller (using standard flags on Debian). Signed-off-by: Philip Tricca <[email protected]>
- Loading branch information
Showing
2 changed files
with
51 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters