miller/buildmode-pie.patch
Scott Bradnick 447c1cdd9c Accepting request 999453 from home:sbradnick
- Adding Group definition
- Removing unnecessary 'golang' requirement which isn't present in 15.3

- Update to version v6.4.0+git20220823.cdbe8b82e:
  * Account for varying mlr locations (#1086)
  * Restore --quote-all for CSV output (#1084)
  * Restore the --jvquoteall flag (#1083)
  * forgot to make a branch/PR for --quote-all
  * make dev: for doc-build artifacts
  * unit-test case
  * Restore --quote-all flag for CSV output
  * post-6.4.0
  * 6.4.0 release (#1081)
  * codespell

OBS-URL: https://build.opensuse.org/request/show/999453
OBS-URL: https://build.opensuse.org/package/show/utilities/miller?expand=0&rev=35
2022-08-26 18:00:29 +00:00

12 lines
472 B
Diff

--- Makefile.orig 2022-08-23 18:21:08.562516337 -0400
+++ Makefile 2022-08-23 18:21:17.490516712 -0400
@@ -7,7 +7,7 @@
# This must remain the first target in this file, which is what 'make' with no
# arguments will run.
build:
- go build github.com/johnkerl/miller/cmd/mlr
+ go build -buildmode=pie github.com/johnkerl/miller/cmd/mlr
@echo "Build complete. The Miller executable is ./mlr (or .\mlr.exe on Windows)."
@echo "You can use 'make check' to run tests".