This commit is contained in:
Lukas Wurzinger 2024-12-15 16:15:49 +01:00
parent bad1448bdd
commit f39aec1070

View file

@ -3,20 +3,20 @@
{{- end -}} {{- end -}}
{{- if .Module -}} {{- if .Module -}}
module {{ .I.Module.Path }} ({{ I.Module.Version }}) (sum {{ .I.Module.Sum }}) module {{ .I.Module.Path }} ({{ .I.Module.Version }}) (sum {{ .I.Module.Sum }})
{{- end -}} {{- end -}}
{{- .Sep -}} {{- .Sep -}}
{{- if .Build -}} {{- if .Build -}}
built with {{ .I.Build.Compiler }} ({{ I.Build.GoVersion }}) (mode {{ .I.Build.Mode }}) built with {{ .I.Build.Compiler }} ({{ .I.Build.GoVersion }}) (mode {{ .I.Build.Mode }})
{{- end -}} {{- end -}}
{{- .Sep -}} {{- .Sep -}}
{{- if .CGO -}} {{- if .CGO -}}
{{- if .I.CGO.Enabled -}} {{- if .I.CGO.Enabled -}}
with cgo (c "{{ .I.CGO.Flags.C }}") (cpp "{{ I.CGO.Flags.CPP }}") (cxx "{{ .I.CGO.Flags.CXX }}") (ld "{{ .I.CGO.Flags.LD }}") with cgo (c "{{ .I.CGO.Flags.C }}") (cpp "{{ .I.CGO.Flags.CPP }}") (cxx "{{ .I.CGO.Flags.CXX }}") (ld "{{ .I.CGO.Flags.LD }}")
{{- else -}} {{- else -}}
without cgo without cgo
{{- end -}} {{- end -}}