0

Added -g2 patch

This commit is contained in:
0x1def 2023-11-08 13:30:31 +03:00
parent 7f02464f8b
commit 02a54c7d7b
Signed by: 0x1def
GPG Key ID: D7D7D9B5E72B6AA2
2 changed files with 13 additions and 1 deletions

View File

@ -0,0 +1,12 @@
# patch < 0001-Compile-without-debug-symbols.patch
--- a/SConstruct
+++ b/SConstruct
@@ -3037,7 +3037,6 @@ if env.TargetOSIs('posix'):
env.Append(
CCFLAGS=[
"-fasynchronous-unwind-tables",
- "-g2" if not env.TargetOSIs('emscripten') else "-g",
"-Wall",
"-Wsign-compare",
"-Wno-unknown-pragmas",

View File

@ -38,7 +38,7 @@ python3 -m venv .venv --prompt mongo
source .venv/bin/activate
python3 -m pip install -r etc/pip/compile-requirements.txt
# Apply patch here
patch < 0001-Compile-without-debug-symbols.patch
python3 buildscripts/scons.py install-servers --config=force \
-j16 \