aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2015-01-09 00:12:20 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2015-01-09 00:12:20 +0000
commit973cfcbfe12ddb0a1972379cfa67056edeca70e9 (patch)
treefcb0d0a845a7933d5c28a4512ebc2f13b808ac8b
parentc6485458b37e3f0f5d1c69c0452e4551ac3b1824 (diff)
downloadsrc-973cfcbfe12ddb0a1972379cfa67056edeca70e9.tar.gz
src-973cfcbfe12ddb0a1972379cfa67056edeca70e9.zip
Fix build failure on Windows due to undefined cflags identifier.
Notes
Notes: svn path=/vendor-crypto/openssl/dist/; revision=276862
-rw-r--r--crypto/cversion.c2
-rwxr-xr-xutil/mkbuildinf.pl2
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/cversion.c b/crypto/cversion.c
index 0336adaa5784..881957e8923e 100644
--- a/crypto/cversion.c
+++ b/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/util/mkbuildinf.pl b/util/mkbuildinf.pl
index 9d7b81c76e41..ffa8a39933f1 100755
--- a/util/mkbuildinf.pl
+++ b/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