Skip to content

Commit ced41b0

Browse files
committed
openssl: fix build failure on windows
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>
1 parent b910613 commit ced41b0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

deps/openssl/openssl/crypto/cversion.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ const char *SSLeay_version(int t)
7777
if (t == SSLEAY_CFLAGS)
7878
{
7979
#ifdef CFLAGS
80-
return(cflags);
80+
return(CFLAGS);
8181
#else
8282
return("compiler: information not available");
8383
#endif

deps/openssl/openssl/util/mkbuildinf.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
print <<"END_OUTPUT";
88
#ifndef MK1MF_BUILD
99
/* auto-generated by util/mkbuildinf.pl for crypto/cversion.c */
10-
#define CFLAGS
10+
#define CFLAGS cflags
1111
/*
1212
* Generate CFLAGS as an array of individual characters. This is a
1313
* workaround for the situation where CFLAGS gets too long for a C90 string

0 commit comments

Comments
 (0)