SF.net SVN: gar:[22326] csw/mgar/pkg/openssl1/trunk/Makefile

chninkel at users.sourceforge.net chninkel at users.sourceforge.net
Sun Oct 27 22:17:53 CET 2013


Revision: 22326
          http://gar.svn.sourceforge.net/gar/?rev=22326&view=rev
Author:   chninkel
Date:     2013-10-27 21:17:53 +0000 (Sun, 27 Oct 2013)
Log Message:
-----------
openssl1/trunk: re-disable sse2 support for 386 build for the Solaris 9 target which doesn't have elfedit

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

Modified: csw/mgar/pkg/openssl1/trunk/Makefile
===================================================================
--- csw/mgar/pkg/openssl1/trunk/Makefile	2013-10-27 20:40:51 UTC (rev 22325)
+++ csw/mgar/pkg/openssl1/trunk/Makefile	2013-10-27 21:17:53 UTC (rev 22326)
@@ -169,7 +169,7 @@
 
 # The corresponding os/compiler to pass to the
 # openssl Configure script
-i386_OS_COMPILER 	= solaris-x86-cc-sunw
+i386_OS_COMPILER 	= no-sse2 solaris-x86-cc-sunw
 pentium_pro_OS_COMPILER	= solaris-x86-pentium_pro-cc-sunw
 amd64_OS_COMPILER 	= solaris64-x86_64-cc-sunw
 
@@ -225,7 +225,7 @@
 # openssl is able to select it at runtime and the Solaris OS support SSE2 since
 # Solaris 9 4/04 (according to "Sun Studio 12: C++ User's Guide")
 post-install:
-	if [[ "$(uname -p)" = "i386" ]]; then \
+	if command -v elfedit >/dev/null 2>&1 && [[ "$(uname -p)" = "i386" ]]; then \
 		echo " ==> Removing the SSE2 hardware capability from libcrypto"; \
 		chmod +w "$(DESTDIR)/$(libdir)/libcrypto.so.1.0.0"; \
 		elfedit -e 'cap:hw1 -and -cmp sse2' "$(DESTDIR)/$(libdir)/libcrypto.so.1.0.0"; \

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