From 68b8769e4e16e69954729d27a0d40b93f1098a8a Mon Sep 17 00:00:00 2001 From: Wojciech Kaluza Date: Sun, 21 Apr 2019 12:39:20 +0100 Subject: [PATCH] Allow setting RCFLAGS as Configure option or environment variable Reviewed-by: Tim Hudson Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/8803) (cherry picked from commit 0c4e984de28b1477e002766b2751576f5c6c47d6) --- Configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Configure b/Configure index 9796084f88..85418b3eb8 100755 --- a/Configure +++ b/Configure @@ -562,7 +562,7 @@ my %user = ( PERL => env('PERL') || ($^O ne "VMS" ? $^X : "perl"), RANLIB => env('RANLIB'), RC => env('RC') || env('WINDRES'), - RCFLAGS => [], + RCFLAGS => [ env('RCFLAGS') || () ], RM => undef, ); # Info about what "make variables" may be prefixed with the cross compiler @@ -579,6 +579,7 @@ my %useradd = ( CXXFLAGS => [], LDFLAGS => [], LDLIBS => [], + RCFLAGS => [], ); my %user_synonyms = ( -- 2.25.1