SHA256
1
0
forked from pool/lvm2
lvm2/bug-1184124-link-tests-as-PIE.patch
heming zhao a63769f5a9 Accepting request 1188922 from home:gsu:branches:Base:System
- enable devices file feature by default - see lvmdevices(8)
  * enable '--with-default-use-devices-file=1' in lvm2.spec
  * update commented default value of 'use_devicesfile' in lvm2.conf

OBS-URL: https://build.opensuse.org/request/show/1188922
OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=345
2024-07-22 02:40:56 +00:00

13 lines
405 B
Diff

diff --git a/test/Makefile.in b/test/Makefile.in
index 20e97ebd0f4d..d4d3ce9f6dc7 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -31,6 +31,7 @@ LVM_TEST_RESULTS ?= results
SOURCES := lib/not.c lib/harness.c lib/dmsecuretest.c
CXXSOURCES := lib/runner.cpp
CXXFLAGS += $(EXTRA_EXEC_CFLAGS)
+LDFLAGS += -pie
CLEAN_DIRS += dbus/__pycache__ $(LVM_TEST_RESULTS)
ifneq (.,$(firstword $(srcdir)))