mirror of
https://github.com/containers/podman.git
synced 2025-07-04 01:48:28 +08:00
do not redefine gobuild for eln
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
@ -12,7 +12,7 @@
|
|||||||
# until that's fixed.
|
# until that's fixed.
|
||||||
# c9s bz: https://bugzilla.redhat.com/show_bug.cgi?id=2227328
|
# c9s bz: https://bugzilla.redhat.com/show_bug.cgi?id=2227328
|
||||||
# c8s bz: https://bugzilla.redhat.com/show_bug.cgi?id=2227331
|
# c8s bz: https://bugzilla.redhat.com/show_bug.cgi?id=2227331
|
||||||
%if %{defined rhel}
|
%if %{defined rhel} && !%{defined eln}
|
||||||
%define gobuild(o:) go build -buildmode pie -compiler gc -tags="rpm_crashtraceback libtrust_openssl ${BUILDTAGS:-}" -ldflags "-linkmode=external -compressdwarf=false ${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -extldflags '%__global_ldflags'" -a -v -x %{?**};
|
%define gobuild(o:) go build -buildmode pie -compiler gc -tags="rpm_crashtraceback libtrust_openssl ${BUILDTAGS:-}" -ldflags "-linkmode=external -compressdwarf=false ${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -extldflags '%__global_ldflags'" -a -v -x %{?**};
|
||||||
# python3 dep conditional for rhel8
|
# python3 dep conditional for rhel8
|
||||||
%if %{?rhel} == 8
|
%if %{?rhel} == 8
|
||||||
|
Reference in New Issue
Block a user