[pypy-commit] pypy default: Reverts the last change to CC in openbsd.py. PyPy reads correctly $CC.
juanfra684
noreply at buildbot.pypy.org
Sun Jun 2 21:22:16 CEST 2013
Author: Juan Francisco Cantero Hurtado <iam at juanfra.info>
Branch:
Changeset: r64714:b56af2127b16
Date: 2013-06-02 20:46 +0200
http://bitbucket.org/pypy/pypy/changeset/b56af2127b16/
Log: Reverts the last change to CC in openbsd.py. PyPy reads correctly
$CC.
Reported by Laurence Tratt.
diff --git a/rpython/translator/platform/openbsd.py b/rpython/translator/platform/openbsd.py
--- a/rpython/translator/platform/openbsd.py
+++ b/rpython/translator/platform/openbsd.py
@@ -5,11 +5,7 @@
from rpython.translator.platform.bsd import BSD
class OpenBSD(BSD):
- if os.environ.get("CC") is None:
- DEFAULT_CC = "cc"
- else:
- DEFAULT_CC = os.environ.get("CC")
-
+ DEFAULT_CC = "cc"
name = "openbsd"
link_flags = os.environ.get("LDFLAGS", "").split() + ['-pthread']
More information about the pypy-commit
mailing list