06b805
From 6344659a33a7c192dffe6e796c771d02f78da5e5 Mon Sep 17 00:00:00 2001
06b805
From: Adam Jackson <ajax@redhat.com>
06b805
Date: Thu, 1 Nov 2007 15:02:24 -0400
06b805
Subject: [PATCH] Build libxf86config with -fPIC.
06b805
06b805
---
06b805
 hw/xfree86/parser/Makefile.am |    2 +-
06b805
 1 files changed, 1 insertions(+), 1 deletions(-)
06b805
06b805
diff --git a/hw/xfree86/parser/Makefile.am b/hw/xfree86/parser/Makefile.am
06b805
index 849ee8b..0691158 100644
06b805
--- a/hw/xfree86/parser/Makefile.am
06b805
+++ b/hw/xfree86/parser/Makefile.am
06b805
@@ -25,7 +25,7 @@ libxf86config_a_SOURCES = \
06b805
 	DRI.c \
06b805
 	Extensions.c
06b805
 
06b805
-AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)
06b805
+AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) -fPIC -fvisibility=hidden
06b805
 
06b805
 EXTRA_DIST = \
06b805
 	Configint.h \
06b805
-- 
06b805
1.5.3.4
06b805