The attached patch is needed to coerce the openssl build into using the 
"right" instruction set for the i486 kernel in 3.4.0.  The 'config' script in 
the openssl tarball does not enable a build in a 'cross-compile' mode.  On 
FC2, this means it built with linux-pentium instead of linux-elf.
--- make.d/openssl.rul	2005-02-07 22:00:49.000000000 -0700
+++ make.d/openssl.rul	2005-02-07 22:50:05.438339328 -0700
@@ -26,7 +26,7 @@
 	rm -rf $(SRC_DIR)/$(OPENSSL_DIR)
 	( cd $(SRC_DIR) && tar -xvzf $(OPENSSL_TARBALL) )
 	cd $(SRC_DIR)/$(OPENSSL_DIR) && \
-		./config no-shared --prefix=/usr --openssldir=/usr/lib/ssl no-idea no-mdc2 no-rc5 no-krb5
+		./Configure linux-elf no-shared --prefix=/usr --openssldir=/usr/lib/ssl no-idea no-mdc2 no-rc5 no-krb5 386
 	$(MAKE) -C $(SRC_DIR)/$(OPENSSL_DIR)
 
 $(SRC_DIR)/openssl_verify.stamp:	$(OPENSSL_TARBALL_TARGET)

Reply via email to