Skip to content
This repository was archived by the owner on Jun 14, 2019. It is now read-only.

Commit 6a8bf73

Browse files
committed
Fix build failing on Mac OS X 10.8 or earlier sass#19
1 parent ec1496d commit 6a8bf73

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

docs/changes.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ Version 0.4.2
66

77
To be released.
88

9+
- Fixed build failing on Mac OS X 10.8 or earlier. [:issue:`19`]
10+
911

1012
Version 0.4.1
1113
-------------

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import glob
77
import os
88
import os.path
9+
import platform
910
import re
1011
import shutil
1112
import sys
@@ -67,7 +68,9 @@ def spawn(self, cmd):
6768
link_flags = []
6869
else:
6970
flags = ['-fPIC', '-Wall', '-Wno-parentheses']
70-
if sys.platform == 'darwin':
71+
platform.mac_ver()
72+
if platform.system() == 'Darwin' and \
73+
tuple(map(int, platform.mac_ver()[0].split('.'))) >= (10, 9):
7174
flags.append(
7275
'-Wno-error=unused-command-line-argument-hard-error-in-future'
7376
)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy