[SM-Commit] GIT changes to master grimoire by Jaka Kranjc (2aecbab554235e6b7571e3bd0f2912d85e2ebe4d)

Jaka Kranjc scm at sourcemage.org
Mon Jun 18 11:59:52 EDT 2007


GIT changes to master grimoire by Jaka Kranjc <lynxlynxlynx at sourcemage.org>:

 crypto/openssl/BUILD   |    3 +++
 crypto/openssl/HISTORY |    3 +++
 2 files changed, 6 insertions(+)

New commits:
commit 2aecbab554235e6b7571e3bd0f2912d85e2ebe4d
Author: Jaka Kranjc <lynxlynxlynx at sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx at sourcemage.org>

    openssl: fix #13855 - at least -O is needed for compilation

diff --git a/crypto/openssl/BUILD b/crypto/openssl/BUILD
index 660392b..ae3a0cf 100755
--- a/crypto/openssl/BUILD
+++ b/crypto/openssl/BUILD
@@ -9,6 +9,9 @@ fi  &&
 
 sedit  "s/-O3//"                    Makefile                &&
 sedit  "s/-m486//"                  Makefile                &&
+if [[ $CFLAGS == ${CFLAGS/-O/} ]]; then
+  CFLAGS="$CFLAGS -O"; # bug 13855
+fi &&
 sedit  "s/^CFLAG=/CFLAG=$CFLAGS /"  Makefile                &&
 sedit  "s/chmod 644\(.*pkgconfig\)/chmod 755\1/"  Makefile  &&
 
diff --git a/crypto/openssl/HISTORY b/crypto/openssl/HISTORY
index 443f8db..c6c5cac 100644
--- a/crypto/openssl/HISTORY
+++ b/crypto/openssl/HISTORY
@@ -1,3 +1,6 @@
+2007-06-18 Jaka Kranjc <lynxlynxlynx at sourcemage.org>
+	* BUILD: add -O if no -Optimisation is specified #13855
+
 2007-05-01 Ladislav Hagara <hgr at vabo.cz>
 	* PRE_BUILD, evp_lib.c.diff: applied upstream patch [Bug 13750]
 	* DETAILS: PATCHLEVEL=1



More information about the SM-Commit mailing list