[Lunar-commits] <moonbase> lvm2: These two lines are not needed. On x86_64 their presence still causes

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Sat Sep 25 13:01:10 CEST 2010


commit 65c005311d39ed1353d76bc20af81db8faa38abf
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Sat Sep 25 07:01:10 2010 -0400

    lvm2: These two lines are not needed. On x86_64 their presence still causes
    
    the problem they are trying to solve. So far as I have seen, this issue has
    only arisen on x86_64 and it is -fPIC that needs to be added to CFLAGS, not PIE.
    Additionally on a x86 box it compiled fine without them.
---
 filesys/lvm2/BUILD |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/filesys/lvm2/BUILD b/filesys/lvm2/BUILD
index 7d3658c..bdbb6d2 100644
--- a/filesys/lvm2/BUILD
+++ b/filesys/lvm2/BUILD
@@ -1,9 +1,5 @@
 (
 
-  # Fixes build of lvm2
-  CFLAGS+=" -fPIE "
-  LDFLAGS+=" -pie "
-
   ./configure  --sbindir=/sbin                \
                --libdir=/lib                  \
                --enable-cmdlib                \


More information about the Lunar-commits mailing list