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