Revision: 5273
          http://ipcop.svn.sourceforge.net/ipcop/?rev=5273&view=rev
Author:   gespinasse
Date:     2010-12-24 14:30:11 +0000 (Fri, 24 Dec 2010)

Log Message:
-----------
Not yet fixed the TEXTREL issue, should wait for newer gcc patches

At least remove the executable stack

Modified Paths:
--------------
    ipcop/trunk/lfs/gnupg

Modified: ipcop/trunk/lfs/gnupg
===================================================================
--- ipcop/trunk/lfs/gnupg       2010-12-24 13:01:14 UTC (rev 5272)
+++ ipcop/trunk/lfs/gnupg       2010-12-24 14:30:11 UTC (rev 5273)
@@ -83,12 +83,16 @@
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
        # fix a false positive with --enable-minimal
        cd $(DIR_APP) && patch -Np0 -i 
$(DIR_PATCHES)/$(THISAPP)_bug1179-minimal.patch
+       # fix TEXTREL issue gentoo borrowed
+       cd $(DIR_APP) && sed -i -e 's:PIC:__PIC__:' mpi/i386/mpih-{add,sub}1.S 
intl/relocatable.c
+       cd $(DIR_APP) && sed -i -e 's:if PIC:ifdef __PIC__:' 
mpi/sparc32v8/mpih-mul{1,2}.S
 
        rm -rf /home/nobody/.gnupg /root/.gnupg
-       cd $(DIR_APP) && CFLAGS="$(CFLAGS) -fPIE -pie" ./configure      
--prefix=/usr \
+       cd $(DIR_APP) && CFLAGS="$(CFLAGS) -fPIC -DPIC" ./configure     
--prefix=/usr \
                                        --build=$(TARGET_TGT) \
                                        --disable-nls \
-                                       --enable-minimal
+                                       --enable-minimal \
+                                       --enable-noexecstack
        cd $(DIR_APP) && make -j $(PARALLELISM)
 
 ifeq "$(RUNNING_TEST)" "yes"


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to