Fix build failure on Windows due to undefined cflags identifier
Reviewed-by: Tim Hudson <tjh@openssl.org> (cherry picked from commit 5c5e7e1a7eb114cf136e1ae4b6a413bc48ba41eb)
This commit is contained in:
parent
8437225d34
commit
56cd740449
@ -77,7 +77,7 @@ const char *SSLeay_version(int t)
|
|||||||
if (t == SSLEAY_CFLAGS)
|
if (t == SSLEAY_CFLAGS)
|
||||||
{
|
{
|
||||||
#ifdef CFLAGS
|
#ifdef CFLAGS
|
||||||
return(cflags);
|
return(CFLAGS);
|
||||||
#else
|
#else
|
||||||
return("compiler: information not available");
|
return("compiler: information not available");
|
||||||
#endif
|
#endif
|
||||||
|
@ -7,7 +7,7 @@ $date = localtime();
|
|||||||
print <<"END_OUTPUT";
|
print <<"END_OUTPUT";
|
||||||
#ifndef MK1MF_BUILD
|
#ifndef MK1MF_BUILD
|
||||||
/* auto-generated by util/mkbuildinf.pl for crypto/cversion.c */
|
/* 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
|
* Generate CFLAGS as an array of individual characters. This is a
|
||||||
* workaround for the situation where CFLAGS gets too long for a C90 string
|
* workaround for the situation where CFLAGS gets too long for a C90 string
|
||||||
|
Loading…
x
Reference in New Issue
Block a user