1a6a35
From 4306b434038de7e2b17d3c4a6cfd87db469d3bda Mon Sep 17 00:00:00 2001
06b805
From: Adam Jackson <ajax@redhat.com>
1a6a35
Date: Mon, 10 Dec 2007 11:26:57 -0500
06b805
Subject: [PATCH] Build libxf86config with -fPIC.
06b805
06b805
diff --git a/hw/xfree86/parser/Makefile.am b/hw/xfree86/parser/Makefile.am
1a6a35
index b8fab28..ed831c9 100644
06b805
--- a/hw/xfree86/parser/Makefile.am
06b805
+++ b/hw/xfree86/parser/Makefile.am
1a6a35
@@ -33,7 +33,7 @@ libxf86config_a_SOURCES = \
1a6a35
 	$(INTERNAL_SOURCES)
1a6a35
 libxf86config_a_CFLAGS = $(AM_CFLAGS)
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 \