#39 Fix gotest ldflags invocation
Merged 4 months ago by eclipseo. Opened 4 months ago by eclipseo.
eclipseo/go-rpm-macros master  into  master

file modified
+2 -1
@@ -350,7 +350,8 @@ 

          zsuffix = "-z " .. suffix .. " "

    end

    print(rpm.expand('%goenv ' .. zsuffix        .. myenvflags   .. '\\n'               ..

-                    '%{?currentgoldflags:LDFLAGS="${LDFLAGS} %{?currentgoldflags}" }'   ..

+                    '%{?currentgoldflags:LDFLAGS="%{%golang_filter_ldflags}            ..

+                    '%{?currentgoldflags}" }'                                          ..

                     '%{?gotestflags:GO_TEST_FLAGS="%{gotestflags}" }'                  ..

                     '%{?gotestextldflags:GO_TEST_EXT_LD_FLAGS="%{gotestextldflags}" }' ..

                     'go-rpm-integration check ' .. mycheckflags .. '\\n'))

no initial comment

Pull-Request has been merged by eclipseo

4 months ago
Metadata