[giv] Fixed compilation under Linux-64.



commit 42ab75c7f6ab1320255b5f3d3b1c206dd3fc63dc
Author: Dov Grobgeld <dov grobgeld gmail com>
Date:   Mon Nov 14 20:05:10 2011 +0200

    Fixed compilation under Linux-64.

 SConstruct |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/SConstruct b/SConstruct
index 56cd237..a34e320 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1,10 +1,10 @@
 import re, os, glob
 
 if ARGUMENTS.get('debug', 0):
-    cppflags = ['-g', '-Wall']
+    cppflags = ['-g', '-Wall','-fPIC']
     variant = 'Debug'
 else:
-    cppflags = ['-O2']
+    cppflags = ['-O2','-fPIC']
     variant = 'Release'
 
 env = Environment(LIBPATH=[],



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]