summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2015-01-09 00:42:10 +0000
committerjkim <jkim@FreeBSD.org>2015-01-09 00:42:10 +0000
commit73cdd9409f86243767b4b8385811aa6e4755304f (patch)
tree85151c4e10be987e1db6b44c136aa6252b3b7599
parent4f9b1cef1a6825f03178937e0feb39a2b2d046c8 (diff)
downloadFreeBSD-src-73cdd9409f86243767b4b8385811aa6e4755304f.zip
FreeBSD-src-73cdd9409f86243767b4b8385811aa6e4755304f.tar.gz
MFV: r276862
Fix build.
-rw-r--r--crypto/openssl/crypto/cversion.c2
-rwxr-xr-xcrypto/openssl/util/mkbuildinf.pl2
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/openssl/crypto/cversion.c b/crypto/openssl/crypto/cversion.c
index 0336ada..881957e 100644
--- a/crypto/openssl/crypto/cversion.c
+++ b/crypto/openssl/crypto/cversion.c
@@ -77,7 +77,7 @@ const char *SSLeay_version(int t)
if (t == SSLEAY_CFLAGS)
{
#ifdef CFLAGS
- return(cflags);
+ return(CFLAGS);
#else
return("compiler: information not available");
#endif
diff --git a/crypto/openssl/util/mkbuildinf.pl b/crypto/openssl/util/mkbuildinf.pl
index 9d7b81c..ffa8a39 100755
--- a/crypto/openssl/util/mkbuildinf.pl
+++ b/crypto/openssl/util/mkbuildinf.pl
@@ -7,7 +7,7 @@ $date = localtime();
print <<"END_OUTPUT";
#ifndef MK1MF_BUILD
/* auto-generated by util/mkbuildinf.pl for crypto/cversion.c */
- #define CFLAGS
+ #define CFLAGS cflags
/*
* Generate CFLAGS as an array of individual characters. This is a
* workaround for the situation where CFLAGS gets too long for a C90 string
OpenPOWER on IntegriCloud