Ticket #838 (closed bug: fixed)
Configure.pl mangles forwardslashed-flags for CL
Reported by: | whiteknight | Owned by: | coke |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | configure | Version: | 1.3.0 |
Severity: | medium | Keywords: | |
Cc: | jkeenan | Language: | |
Patch status: | Platform: | win32 |
Description
The Microsoft C compiler, cl, takes flags with a forward slash instead of a - on Linux. Configure.pl helpfully mangles these forward slashes into backslashes in the makefile, I think it's mixing up the --ccflags with some kind of path specifier.
For instance, I typed this:
Configure.pl --ccflags="/GS- /MD"
And the makefile contained this:
CONFIG_ARGS = "--ccflags=\GS- \MD"
I had to manually edit this in the makefile here and one other place to make this work.
Change History
Note: See
TracTickets for help on using
tickets.