[packages/golang] fix ext_linker bcond usage

atler atler at pld-linux.org
Mon Feb 28 14:07:44 CET 2022


commit 5121258d10330346f887753ec8b40af097658d20
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Feb 28 13:49:23 2022 +0100

    fix ext_linker bcond usage

 golang.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/golang.spec b/golang.spec
index ffcdd5d..726824e 100644
--- a/golang.spec
+++ b/golang.spec
@@ -160,7 +160,7 @@ export GOHOSTARCH=%{GOARCH}
 export GOOS=linux
 export GOARCH=%{GOARCH}
 %{?GOARM:export GOARM=%{GOARM}}
-%if %{without external_linker}
+%if %{without ext_linker}
 export GO_LDFLAGS="-linkmode internal"
 %endif
 %if %{with cgo}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/golang.git/commitdiff/9cc130647db8d5725819ab5e9bdb9f09aaed9643



More information about the pld-cvs-commit mailing list