pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-pyobjc-core/patches



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Nov 18 17:05:06 UTC 2019

Added Files:
        pkgsrc/devel/py-pyobjc-core/patches: patch-setup.py

Log Message:
py-pyobjc-core: patch setup.py


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-pyobjc-core/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/py-pyobjc-core/patches/patch-setup.py
diff -u /dev/null pkgsrc/devel/py-pyobjc-core/patches/patch-setup.py:1.1
--- /dev/null   Mon Nov 18 17:05:06 2019
+++ pkgsrc/devel/py-pyobjc-core/patches/patch-setup.py  Mon Nov 18 17:05:06 2019
@@ -0,0 +1,24 @@
+$NetBSD: patch-setup.py,v 1.1 2019/11/18 17:05:06 adam Exp $
+
+Do not add debug symbols.
+Do not override compiler optimiztion flags.
+
+--- setup.py.orig      2019-11-18 16:02:47.000000000 +0000
++++ setup.py
+@@ -66,7 +66,6 @@ def get_sdk_level(sdk):
+ 
+ # CFLAGS for the objc._objc extension:
+ CFLAGS = [
+-    "-g",
+     "-fexceptions",
+     # Loads of warning flags
+     "-Wall",
+@@ -137,7 +136,7 @@ if get_config_var("Py_DEBUG"):
+         elif isinstance(cfg_vars[k], str) and "-O3" in cfg_vars[k]:
+             cfg_vars[k] = cfg_vars[k].replace("-O3", "-O1 -g")
+ 
+-else:
++elif False:
+     # Enable -O4, which enables link-time optimization with
+     # clang. This appears to have a positive effect on performance.
+     cfg_vars = get_config_vars()



Home | Main Index | Thread Index | Old Index