Skip to content

Remove "-buildmode=pie" from platforms that don't support it#2419

Merged
kolyshkin merged 1 commit into
opencontainers:masterfrom
tianon:buildmode-arch-toggle
May 20, 2020
Merged

Remove "-buildmode=pie" from platforms that don't support it#2419
kolyshkin merged 1 commit into
opencontainers:masterfrom
tianon:buildmode-arch-toggle

Conversation

@tianon
Copy link
Copy Markdown
Member

@tianon tianon commented May 19, 2020

@tianon tianon force-pushed the buildmode-arch-toggle branch from db2a3ab to f854b9e Compare May 19, 2020 16:50
Copy link
Copy Markdown
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tianon

This comment has been minimized.

@tianon tianon force-pushed the buildmode-arch-toggle branch from f854b9e to c4b721a Compare May 19, 2020 18:47
Comment thread Makefile Outdated
@tianon tianon force-pushed the buildmode-arch-toggle branch 2 times, most recently from a6629b9 to abeb84b Compare May 19, 2020 18:56
@tianon
Copy link
Copy Markdown
Member Author

tianon commented May 19, 2020

All good now, and all green at https://travis-ci.org/github/opencontainers/runc/builds/688947950 although something in the reporting of that status back to GitHub seems mixed up. 😅

@kolyshkin
Copy link
Copy Markdown
Contributor

kolyshkin commented May 19, 2020

This sequence (and syntax) is taken directly from containerd's Makefile:

Technically speaking, this is no longer true.

LGTM otherwise

Approved with PullApprove

@tianon
Copy link
Copy Markdown
Member Author

tianon commented May 19, 2020

That's fair, but it's still pretty close (definitely close enough to recognize readily, IMO) -- do you think the differences are large enough that I should remove that from the commit text?

@kolyshkin
Copy link
Copy Markdown
Contributor

do you think the differences are large enough that I should remove that from the commit text?

No, it totally makes sense to mention it, but I would replace "is taken directly from" by "is modelled after", "is inspired by", "idea is stolen from" or something...

This sequence (and syntax) is inspired by containerd's implementation of the same:
https://github.com/containerd/containerd/blob/4e08c2de67ec514b5602eea47804d41dfeabdc72/Makefile.linux#L21-L26

Signed-off-by: Tianon Gravi <admwiggin@gmail.com>
@tianon tianon force-pushed the buildmode-arch-toggle branch from abeb84b to be66519 Compare May 19, 2020 23:01
@tianon
Copy link
Copy Markdown
Member Author

tianon commented May 19, 2020 via email

@AkihiroSuda
Copy link
Copy Markdown
Member

AkihiroSuda commented May 20, 2020

LGTM

Approved with PullApprove

@kolyshkin
Copy link
Copy Markdown
Contributor

kolyshkin commented May 20, 2020

LGTM

Approved with PullApprove

@kolyshkin kolyshkin merged commit 28cd9d9 into opencontainers:master May 20, 2020
@tianon tianon deleted the buildmode-arch-toggle branch May 20, 2020 16:27
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.

4 participants