bex reported a new issue against the project: `go-rpm-macros` that you are
following:
``
While working with a new package, I needed some LDFlags passed. I am using
this construction in my spec:
```
%build
LDFLAGS="-X foo=bar "
%gobuild ...
```
I have to put the space in quotes at the end as we appear to have space
expansion errors. I was talking to @ignatenkobrain and he pointed out:
* https://pagure.io/go-rpm-macros/blob/master/f/rpm/macros.d/macros.go-rpm#_353
there is a missing space
*
https://pagure.io/go-rpm-macros/blob/master/f/rpm/macros.d/macros.go-compilers-gcc#_29
${LDFLAGS:-%{?currentgoldflags}} ← should be like that
``
To reply, visit the link below or just reply to this email
https://pagure.io/go-rpm-macros/issue/19
___
golang mailing list -- golang@lists.fedoraproject.org
To unsubscribe send an email to golang-le...@lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/golang@lists.fedoraproject.org