r1182 - developers/werner

werner at sita.openmoko.org werner at sita.openmoko.org
Thu Mar 1 16:01:26 CET 2007


Author: werner
Date: 2007-03-01 16:01:17 +0100 (Thu, 01 Mar 2007)
New Revision: 1182

Added:
   developers/werner/openocd-link-static.patch
Log:
Link everything statically, for better binary compatibility.



Added: developers/werner/openocd-link-static.patch
===================================================================
--- developers/werner/openocd-link-static.patch	2007-03-01 14:34:18 UTC (rev 1181)
+++ developers/werner/openocd-link-static.patch	2007-03-01 15:01:17 UTC (rev 1182)
@@ -0,0 +1,20 @@
+--- openocd/src/Makefile.am.orig	2007-03-01 11:51:41.000000000 -0300
++++ openocd/src/Makefile.am	2007-03-01 11:58:08.000000000 -0300
+@@ -7,7 +7,7 @@
+ 	-I$(top_srcdir)/src/flash -I$(top_srcdir)/src/pld $(all_includes)
+ 
+ # the library search path.
+-openocd_LDFLAGS = $(all_libraries) 
++openocd_LDFLAGS = -Bstatic $(all_libraries)
+ SUBDIRS = helper jtag xsvf target server flash pld
+ 
+ if IS_MINGW
+@@ -17,7 +17,7 @@
+ endif
+ 
+ if FT2232_LIBFTDI
+-FTDI2232LIB = -lftdi
++FTDI2232LIB = -lftdi -lusb
+ else
+ FTDI2232LIB =
+ endif





More information about the commitlog mailing list