[OpenSWAN dev] Openswan 1.0.0rc1 crosscompile fix

Tuomo Soini tis at foobar.fi
Tue Dec 16 13:36:33 CET 2003


This patch should solve crosscompiling of openswan-1

-- 
Tuomo Soini <tis at foobar.fi>
Linux and network services
+358 40 5240030
Foobar Oy <http://foobar.fi/>
-------------- next part --------------
--- openswan-1.0.0rc1/klips/net/ipsec/Makefile.archfix	2003-11-19 04:29:41.000000000 +0200
+++ openswan-1.0.0rc1/klips/net/ipsec/Makefile	2003-12-16 13:12:32.000000000 +0200
@@ -128,7 +128,7 @@
 
 libdes/libdes.a:
 	( cd libdes && \
-	if test " `arch | sed 's/^i[3456]/x/'`" = " x86" ; \
+	if test " $(ARCH)" = " i386" ; \
 	then $(MAKE) CC='$(CC)' CFLAG='$(CFLAGS)' TESTING='' x86-elf ; \
 	else $(MAKE) CC='$(CC)' CFLAG='$(CFLAGS)' libdes.a ; \
 	fi )


More information about the Dev mailing list