Commit a583172d authored by Wojciech Kaluza's avatar Wojciech Kaluza Committed by Richard Levitte
Browse files

Add RCFLAGS variable in Windows build file, and use it



- Allow user-defined RCFLAGS
- Pass RCFLAGS to RC

Reviewed-by: default avatarTim Hudson <tjh@openssl.org>
Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8803)
parent e8fb288c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -206,6 +206,7 @@ AS={- $config{AS} -}
ASFLAGS={- join(' ', @{$config{ASFLAGS}}) -}

RC={- $config{RC} -}
RCFLAGS={- join(' ', @{$config{RCFLAGS}}) -}

ECHO="$(PERL)" "$(SRCDIR)\util\echo.pl"

@@ -630,7 +631,7 @@ EOF
         my $res = platform->res($args{obj});
         return <<"EOF";
$res: $deps
	\$(RC) \$(RCOUTFLAG)\$\@ $srcs
	\$(RC) \$(RCFLAGS) \$(RCOUTFLAG)\$\@ $srcs
EOF
     }
     my $obj = platform->obj($args{obj});