Revision: 6578
          http://ipcop.svn.sourceforge.net/ipcop/?rev=6578&view=rev
Author:   gespinasse
Date:     2012-04-26 12:40:45 +0000 (Thu, 26 Apr 2012)
Log Message:
-----------
Forward an LFS fix for gmp.
We didn't compile the gmp c++ part, so that deosn't matter much for us.

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

Modified: ipcop/trunk/lfs/stage2
===================================================================
--- ipcop/trunk/lfs/stage2      2012-04-26 12:12:13 UTC (rev 6577)
+++ ipcop/trunk/lfs/stage2      2012-04-26 12:40:45 UTC (rev 6578)
@@ -85,6 +85,11 @@
                ln -sfn /$(TOOLS_DIR)/lib/libstdc++.so.6 
/usr/lib/libstdc++.so.6 && \
                ln -sfn libstdc++.so.6 /usr/lib/libstdc++.so; \
        fi
+       # libstdc++.la is for gmp configure. In fact, we didn't need/compile 
the c++ part actually.
+       # Previously all .la files were removed from toolchain package, so 
check if exist
+       [ ! -e /$(TOOLS_DIR)/lib/libstdc++.la ] || \
+               sed 's/$(TOOLS_DIR)/usr/' /$(TOOLS_DIR)/lib/libstdc++.la > 
/usr/lib/libstdc++.la
+
        if [ ! -e /usr/lib/libgcc_s.so.1 ]; then \
                ln -sfn /$(TOOLS_DIR)/lib/libgcc_s.so.1 /usr/lib/libgcc_s.so.1 
&& \
                ln -sfn libgcc_s.so.1 /usr/lib/libgcc_s.so; \
@@ -97,7 +102,7 @@
        chmod 0750 /root
        chmod 1777 /tmp /var/tmp
        chmod 0711 /var/empty
-       
+
        # Config files
        cp -fR $(DIR_SRC)/config/etc/* /etc
        find /etc -name .svn -print | xargs --no-run-if-empty rm -rf

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


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to