From 0c4e984de28b1477e002766b2751576f5c6c47d6 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) --- Configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Configure b/Configure index 480837cd03d9a..701368d5c617a 100755 --- a/Configure +++ b/Configure @@ -594,7 +594,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 @@ -611,6 +611,7 @@ my %useradd = ( CXXFLAGS => [], LDFLAGS => [], LDLIBS => [], + RCFLAGS => [], ); my %user_synonyms = (