2016-04-12 16:04:29 +02:00
|
|
|
From: Egbert Eich <eich@suse.de>
|
|
|
|
Date: Tue Apr 12 15:53:11 2016 +0200
|
|
|
|
Subject: [PATCH]xorg-wrapper/build: Build position independent code
|
|
|
|
Patch-mainline: to be upstreamed
|
|
|
|
References:
|
|
|
|
Signed-off-by: Egbert Eich <eich@suse.com>
|
|
|
|
|
|
|
|
Signed-off-by: Egbert Eich <eich@suse.de>
|
|
|
|
---
|
|
|
|
hw/xfree86/Makefile.am | 1 +
|
|
|
|
1 file changed, 1 insertion(+)
|
|
|
|
|
|
|
|
diff --git a/hw/xfree86/Makefile.am b/hw/xfree86/Makefile.am
|
|
|
|
index 461e818..c0ce3b8 100644
|
|
|
|
--- a/hw/xfree86/Makefile.am
|
|
|
|
+++ b/hw/xfree86/Makefile.am
|
|
|
|
@@ -87,6 +87,7 @@ if SUID_WRAPPER
|
2018-05-19 20:13:03 +02:00
|
|
|
wrapexecdir = $(SUID_WRAPPER_DIR)
|
|
|
|
wrapexec_PROGRAMS = Xorg.wrap
|
2016-04-12 16:04:29 +02:00
|
|
|
Xorg_wrap_SOURCES = xorg-wrapper.c
|
|
|
|
+Xorg_wrap_CFLAGS = $(AM_CFLAGS) -pie -fpie
|
|
|
|
endif
|
|
|
|
|
|
|
|
BUILT_SOURCES = xorg.conf.example
|