Skip to content

Commit

Permalink
openssl: fix build failure on windows
Browse files Browse the repository at this point in the history
Backport of: openssl/openssl@5c5e7e

Original commit message:

    Fix build failure on Windows due to undefined cflags identifier

    Reviewed-by: Tim Hudson <tjh@openssl.org>

PR-URL: #289
Reviewed-By: Fedor Indutny <fedor@indutny.com>
  • Loading branch information
indutny committed Jan 12, 2015
1 parent b910613 commit ced41b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deps/openssl/openssl/crypto/cversion.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion deps/openssl/openssl/util/mkbuildinf.pl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
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
Expand Down

0 comments on commit ced41b0

Please sign in to comment.