Lines 1-4
Link Here
|
1 |
--- setup.py.orig 2017-11-16 05:28:26 UTC |
1 |
--- setup.py.orig 2018-09-16 19:57:43 UTC |
2 |
+++ setup.py |
2 |
+++ setup.py |
3 |
@@ -37,7 +37,7 @@ def _maybe_clang(flags): |
3 |
@@ -37,7 +37,7 @@ def _maybe_clang(flags): |
4 |
compiler.linker_so[0] = os.environ['CXX'] |
4 |
compiler.linker_so[0] = os.environ['CXX'] |
Lines 5-11
Link Here
|
5 |
return compiler |
5 |
return compiler |
6 |
distutils.sysconfig.customize_compiler = customize_compiler |
6 |
distutils.sysconfig.customize_compiler = customize_compiler |
7 |
- flags[:] = ['-c', '-O3'] + flags + ['-stdlib=libc++'] |
7 |
- flags[:] = ['-c', '-O3'] + flags + ['-stdlib=libc++'] |
8 |
+ flags[:] = ['-c'] + flags + ['-stdlib=libc++'] |
8 |
+ flags[:] = ['-c'] + flags |
9 |
|
9 |
|
10 |
|
10 |
|
11 |
def _maybe_macos(flags): |
11 |
def _maybe_macos(flags): |
|
|
12 |
@@ -59,7 +59,7 @@ if system_sass: |
13 |
_maybe_macos(flags) |
14 |
|
15 |
if platform.system() == 'FreeBSD': |
16 |
- link_flags = ['-fPIC', '-lc++'] |
17 |
+ link_flags = ['-fPIC'] |
18 |
else: |
19 |
link_flags = ['-fPIC', '-lstdc++'] |
20 |
libraries = ['sass'] |
21 |
@@ -173,7 +173,7 @@ else: |
22 |
f.write(cencode_body) |
23 |
|
24 |
if platform.system() == 'FreeBSD': |
25 |
- link_flags = ['-fPIC', '-lc++'] |
26 |
+ link_flags = ['-fPIC'] |
27 |
else: |
28 |
link_flags = ['-fPIC', '-lstdc++'] |
29 |
|