Revision: 5260
          http://ipcop.svn.sourceforge.net/ipcop/?rev=5260&view=rev
Author:   owes
Date:     2010-12-21 22:17:25 +0000 (Tue, 21 Dec 2010)

Log Message:
-----------
Compile parts of memtest without pie (and friends) to avoid build problems.

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

Added Paths:
-----------
    ipcop/trunk/src/patches/memtest86+-4.10_compile-with-no-pie.patch

Modified: ipcop/trunk/lfs/memtest
===================================================================
--- ipcop/trunk/lfs/memtest     2010-12-21 22:15:25 UTC (rev 5259)
+++ ipcop/trunk/lfs/memtest     2010-12-21 22:17:25 UTC (rev 5260)
@@ -81,6 +81,7 @@
 $(TARGET) : $(firstword $(MAKEFILE_LIST)) $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+       cd $(DIR_APP) && patch -Np1 -i 
$(DIR_PATCHES)/$(THISAPP)_compile-with-no-pie.patch
 
        # Enable serial console, ttyS0 with 57600 8N1
        #cd $(DIR_APP) && sed -i \

Added: ipcop/trunk/src/patches/memtest86+-4.10_compile-with-no-pie.patch
===================================================================
--- ipcop/trunk/src/patches/memtest86+-4.10_compile-with-no-pie.patch           
                (rev 0)
+++ ipcop/trunk/src/patches/memtest86+-4.10_compile-with-no-pie.patch   
2010-12-21 22:17:25 UTC (rev 5260)
@@ -0,0 +1,11 @@
+--- memtest86+-4.10/Makefile.orig      2010-12-14 14:49:05.000000000 +0100
++++ memtest86+-4.10/Makefile   2010-12-14 14:49:07.000000000 +0100
+@@ -50,7 +50,7 @@
+       $(CC) -c $(CFLAGS) -fno-strict-aliasing reloc.c
+ 
+ test.o: test.c
+-      $(CC) -c -Wall -march=i486 -m32 -Os -fomit-frame-pointer -fno-builtin 
-ffreestanding test.c
++      $(CC) -c -Wall -march=i486 -m32 -Os -fomit-frame-pointer -fno-builtin 
-fno-pic -fno-pie -ffreestanding -fno-stack-protector test.c
+ 
+ clean:
+       rm -f *.o *.s *.iso memtest.bin memtest memtest_shared 
memtest_shared.bin


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

------------------------------------------------------------------------------
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to