Skip to content

Commit

Permalink
Merge pull request #167 from dahlia/disable_debug_mode_windows
Browse files Browse the repository at this point in the history
Upgrade libsass to 3.3.6
  • Loading branch information
asottile authored Oct 24, 2016
2 parents 5bee6cd + e27ebcd commit 3b26739
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
15 changes: 1 addition & 14 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,20 +81,7 @@
if get_build_version() < 14.0:
msvc9compiler.get_build_version = lambda: 14.0
msvc9compiler.VERSION = 14.0
# Workaround http://bugs.python.org/issue4431 under Python <= 2.6
if sys.version_info < (2, 7):
def spawn(self, cmd):
from distutils.spawn import spawn
if cmd[0] == self.linker:
for i, val in enumerate(cmd):
if val.startswith('/MANIFESTFILE:'):
spawn(cmd[:i] + ['/MANIFEST'] + cmd[i:],
dry_run=self.dry_run)
return
spawn(cmd, dry_run=self.dry_run)
from distutils.msvc9compiler import MSVCCompiler
MSVCCompiler.spawn = spawn
flags = ['-c', '-O2', '/EHsc', '/MT']
flags = ['/Od', '/EHsc', '/MT']
link_flags = []
else:
flags = [
Expand Down

0 comments on commit 3b26739

Please sign in to comment.