[Lunar-commits] <moonbase> gpm: This fixes bug report http://bugs.lunar-linux.org/view.php?id=442 .

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Fri Oct 15 16:36:17 CEST 2010


commit 92f11cc124b8c4b37147f59ef88a729b6b719d8d
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Fri Oct 15 10:36:17 2010 -0400

    gpm: This fixes bug report http://bugs.lunar-linux.org/view.php?id=442 .
---
 utils/gpm/BUILD |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/utils/gpm/BUILD b/utils/gpm/BUILD
index 444ba9d..3cdde57 100644
--- a/utils/gpm/BUILD
+++ b/utils/gpm/BUILD
@@ -9,6 +9,11 @@ BASEMSG="A mouse configuration file has been installed in /etc/config.d. SA plea
 # specifically so we could link this to ncurses and then
 # link ncurses to bash which is needed at init time! If you 
 # move it you could break your system!
+
+# To fix bug report http://bugs.lunar-linux.org/view.php?id=442
+  if [ `arch` == "x86_64" ] ;then
+    CFLAGS="-fPIC"
+  fi &&
   
   ./configure  --build=$BUILD                          \
                --prefix=/usr                           \


More information about the Lunar-commits mailing list