Add RCFLAGS variable in Windows build file, and use it
- Allow user-defined RCFLAGS - Pass RCFLAGS to RC Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/8803)
This commit is contained in:
parent
e8fb288cc5
commit
a583172dac
1 changed files with 2 additions and 1 deletions
|
@ -206,6 +206,7 @@ AS={- $config{AS} -}
|
||||||
ASFLAGS={- join(' ', @{$config{ASFLAGS}}) -}
|
ASFLAGS={- join(' ', @{$config{ASFLAGS}}) -}
|
||||||
|
|
||||||
RC={- $config{RC} -}
|
RC={- $config{RC} -}
|
||||||
|
RCFLAGS={- join(' ', @{$config{RCFLAGS}}) -}
|
||||||
|
|
||||||
ECHO="$(PERL)" "$(SRCDIR)\util\echo.pl"
|
ECHO="$(PERL)" "$(SRCDIR)\util\echo.pl"
|
||||||
|
|
||||||
|
@ -630,7 +631,7 @@ EOF
|
||||||
my $res = platform->res($args{obj});
|
my $res = platform->res($args{obj});
|
||||||
return <<"EOF";
|
return <<"EOF";
|
||||||
$res: $deps
|
$res: $deps
|
||||||
\$(RC) \$(RCOUTFLAG)\$\@ $srcs
|
\$(RC) \$(RCFLAGS) \$(RCOUTFLAG)\$\@ $srcs
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
my $obj = platform->obj($args{obj});
|
my $obj = platform->obj($args{obj});
|
||||||
|
|
Loading…
Reference in a new issue