SF.net SVN: gar:[24723] csw/mgar/pkg/libffi/trunk

rmottola at users.sourceforge.net rmottola at users.sourceforge.net
Sun Mar 15 22:35:43 CET 2015


Revision: 24723
          http://sourceforge.net/p/gar/code/24723
Author:   rmottola
Date:     2015-03-15 21:35:43 +0000 (Sun, 15 Mar 2015)
Log Message:
-----------
patch unwind test

Modified Paths:
--------------
    csw/mgar/pkg/libffi/trunk/Makefile

Added Paths:
-----------
    csw/mgar/pkg/libffi/trunk/files/configure.patch

Modified: csw/mgar/pkg/libffi/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libffi/trunk/Makefile	2015-03-15 18:50:20 UTC (rev 24722)
+++ csw/mgar/pkg/libffi/trunk/Makefile	2015-03-15 21:35:43 UTC (rev 24723)
@@ -26,6 +26,8 @@
 BUILD64 = 1
 
 
+#fix unwind test
+PATCHFILES += configure.patch
 # Not needed unless using SOS compiler
 #PATCHFILES += Makefile.in.patch
 # Not really needed for build, but for SOS compiler using libffi (not neeeded for recent libffi)

Added: csw/mgar/pkg/libffi/trunk/files/configure.patch
===================================================================
--- csw/mgar/pkg/libffi/trunk/files/configure.patch	                        (rev 0)
+++ csw/mgar/pkg/libffi/trunk/files/configure.patch	2015-03-15 21:35:43 UTC (rev 24723)
@@ -0,0 +1,11 @@
+--- a/configure.orig	Sun Mar 15 22:01:08 2015
++++ b/configure	Sun Mar 15 22:01:40 2015
+@@ -18571,7 +18571,7 @@
+ 	# we ensure that we can compile _and_ link an assembly file containing an @unwind section
+ 	# since the compiler can support it and not the linker (ie old binutils)
+ 	if $CC -Wa,--fatal-warnings $CFLAGS -c conftest1.s > /dev/null 2>&1 && \
+-           $CC conftest2.c conftest1.o > /dev/null 2>&1 ; then
++           $CC $CFLAGS conftest2.c conftest1.o > /dev/null 2>&1 ; then
+ 	    libffi_cv_as_x86_64_unwind_section_type=yes
+ 	fi
+ 

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



More information about the devel mailing list