#47 Use Fedora's build flags for cgo.
Closed by gotmax23. Opened by gotmax23.
gotmax23/go-rpm-macros master  into  master

Download 47.patch

As promised, here is my PR to set CGO to use Fedoa's build flags. I tested this with golang-github-containerd-btrfs, but it could probably use some more extended testing.

I agree, if you have a copr with more packages it would help. I can look into it at one point too.

I rebuilt all go packages that contain binaries (generated in the same way that I used for the CVE rebuilds) with this applied to go-rpm-macros in gotmax23/go-rpm-macros-cgo on COPR. Then, I built the failures in gotmax23/go-rpm-macros-cgo-control which didn't include these changes. All of the packages that failed to build in the first COPR also failed in the second one.

I rebuilt all go packages that contain binaries (generated in the same way that I used for the CVE rebuilds) with this applied to go-rpm-macros in gotmax23/go-rpm-macros-cgo on COPR. Then, I built the failures in gotmax23/go-rpm-macros-cgo-control which didn't include these changes. All of the packages that failed to build in the first COPR also failed in the second one.

Hmm, I was just looking at this, and it seems that the patch didn't get applied correctly in the COPR. Let me double check this later to make sure that it actually works as expected.

rebased onto 8cba0c6d03530fa3d02e706e7a6c9ad075855ad6

Thanks so much for your hard work!

Pull-Request has been closed by gotmax23

Metadata