xorg-x11-server/xorg-x11-server-1.0.1-fpic-libxf86config.patch

17 lines
480 B
Diff
Raw Normal View History

From: Adam Jackson <ajax@redhat.com>
Date: Sun, 28 Oct 2007 09:37:52 +0100
Subject: [PATCH] Build libxf86config with -fPIC
---
--- xorg-server-1.0.1/hw/xfree86/parser/Makefile.am.xf86configfpic 2006-03-06 13:57:45.000000000 -0500
+++ xorg-server-1.0.1/hw/xfree86/parser/Makefile.am 2006-03-06 13:59:11.000000000 -0500
@@ -23,7 +23,7 @@
DRI.c \
Extensions.c
-AM_CFLAGS = $(XORG_CFLAGS)
+AM_CFLAGS = $(XORG_CFLAGS) -fPIC -fvisibility=hidden
EXTRA_DIST = \
Configint.h \