[Lunar-commits] <moonbase> lvm2: restored fPIE My fresh build of Lunar 1.6.0 x86 still fails to successfully build without -fPIE -pie. If it does not hurt anyone let it be here.

Zbigniew Luszpinski zbiggy at lunar-linux.org
Sun Sep 26 16:48:03 CEST 2010


commit 8480e73d4bcab9d3443edde95277b70b88b7f6e9
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Sun Sep 26 14:48:03 2010 +0000

    lvm2: restored fPIE
    My fresh build of Lunar 1.6.0 x86 still fails to successfully build
    without -fPIE -pie. If it does not hurt anyone let it be here.
---
 filesys/lvm2/BUILD |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

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


More information about the Lunar-commits mailing list