Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Commit

Permalink
The version with full local build
Browse files Browse the repository at this point in the history
  • Loading branch information
maxirmx committed Jan 6, 2021
1 parent c4af23c commit d91a7d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build-zlib.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Param (

if ($platform -eq "x86") {
$env:OBJA = 'inffas32.obj match686.obj'
$env:ASFLAGS = $env:ASFLAGS + '-coff'
$env:ASFLAGS = $env:ASFLAGS + ' -coff'
} else {
$env:AS = 'ml64'
$env:OBJA = 'inffasx64.obj gvmat64.obj inffas8664.obj'
Expand All @@ -29,11 +29,11 @@ Param (
$env:CFLAGS = '-nologo -W3 -Oy- -Zi -Fd"zlib" -DASMV -DASMINF'
switch($configuration) {
"release" {
$env:CFLAGS = $env:CFLAGS + '-MD -I. -O2'
$env:CFLAGS = $env:CFLAGS + ' -MD -I. -O2'
break;
}
"debug" {
$env:CFLAGS = $env:CFLAGS + '-MDd -I. -Od'
$env:CFLAGS = $env:CFLAGS + ' -MDd -I. -Od'
break;
}
default { "build-zlib.ps1: configuration <" + $configuration + "> was not recognized"; exit (-1); }
Expand Down

0 comments on commit d91a7d8

Please sign in to comment.