1
Add -fPIC to all invokations of gcc/g++ to fix FTBFS errors
2
Index: codelite-1.0.2759+dfsg/configure
3
===================================================================
4
--- codelite-1.0.2759+dfsg.orig/configure 2009-02-11 20:07:02.000000000 +0800
5
+++ codelite-1.0.2759+dfsg/configure 2009-02-11 20:17:53.000000000 +0800
9
## set the compiler name
10
- compiler_name="g++ "
11
- c_compiler_name="gcc "
12
+ compiler_name="g++ -fPIC "
13
+ c_compiler_name="gcc -fPIC "
14
exe_name="Runtime/codelite"
17
if [ "$is_64bit" = "yes" ]; then
18
- compiler_name=${compiler_name}" -fPIC -DON_64_BIT "
19
- c_compiler_name=${c_compiler_name}" -fPIC -DON_64_BIT "
20
+ compiler_name=${compiler_name}" -DON_64_BIT "
21
+ c_compiler_name=${c_compiler_name}" -DON_64_BIT "
24
## set the executable name