Skip to content

Commit

Permalink
Add RCFLAGS variable in Windows build file, and use it
Browse files Browse the repository at this point in the history
- Allow user-defined RCFLAGS
- Pass RCFLAGS to RC

Reviewed-by: Tim Hudson <[email protected]>
Reviewed-by: Richard Levitte <[email protected]>
(Merged from openssl#8803)
  • Loading branch information
Wojciech Kaluza authored and levitte committed May 2, 2019
1 parent e8fb288 commit a583172
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Configurations/windows-makefile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ AS={- $config{AS} -}
ASFLAGS={- join(' ', @{$config{ASFLAGS}}) -}

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

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

Expand Down Expand Up @@ -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});
Expand Down

0 comments on commit a583172

Please sign in to comment.