Skip to content

Optimize build commands in amazon-ssm-agent.spec - #678

Open
VinzSpring wants to merge 1 commit into
aws:mainlinefrom
VinzSpring:fix-rpm-bin-stripping
Open

Optimize build commands in amazon-ssm-agent.spec#678
VinzSpring wants to merge 1 commit into
aws:mainlinefrom
VinzSpring:fix-rpm-bin-stripping

Conversation

@VinzSpring

Copy link
Copy Markdown

Issue #, if available:
rpm does not get fully stripped

Description of changes:
Updated build commands to include -trimpath and -s -w flags for optimization (like in makefile). Reduces binary size by ~6MB

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Updated build commands to include -trimpath and -s -w flags for optimization (like in makefile). Reduces binary size by ~6MB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant