ab1b312e43
Version 14.19.1 'Fermium' (LTS) This is a security release. Notable Changes Update to OpenSSL 1.1.1n, which addresses the following vulnerability: Infinite loop in BN_mod_sqrt() reachable when parsing certificates (High)(CVE-2022-0778) More details are available at https://www.openssl.org/news/secadv/20220315.txt
24 lines
1.1 KiB
Python
24 lines
1.1 KiB
Python
$NetBSD: patch-tools_gyp_pylib_gyp_xcode__emulation.py,v 1.1 2022/03/30 06:51:31 adam Exp $
|
|
|
|
Do not generate debugging symbols (uses lots of disk space).
|
|
|
|
--- tools/gyp/pylib/gyp/xcode_emulation.py.orig 2020-10-07 17:47:43.000000000 +0000
|
|
+++ tools/gyp/pylib/gyp/xcode_emulation.py
|
|
@@ -610,7 +610,7 @@ class XcodeSettings(object):
|
|
|
|
self._Appendf(cflags, "GCC_OPTIMIZATION_LEVEL", "-O%s", default="s")
|
|
|
|
- if self._Test("GCC_GENERATE_DEBUGGING_SYMBOLS", "YES", default="YES"):
|
|
+ if self._Test("GCC_GENERATE_DEBUGGING_SYMBOLS", "YES", default="NO"):
|
|
dbg_format = self._Settings().get("DEBUG_INFORMATION_FORMAT", "dwarf")
|
|
if dbg_format == "dwarf":
|
|
cflags.append("-gdwarf-2")
|
|
@@ -1097,7 +1097,7 @@ class XcodeSettings(object):
|
|
# For static libraries, no dSYMs are created.
|
|
result = []
|
|
if (
|
|
- self._Test("GCC_GENERATE_DEBUGGING_SYMBOLS", "YES", default="YES")
|
|
+ self._Test("GCC_GENERATE_DEBUGGING_SYMBOLS", "YES", default="NO")
|
|
and self._Test(
|
|
"DEBUG_INFORMATION_FORMAT", "dwarf-with-dsym", default="dwarf"
|
|
)
|