Added -g2 patch
This commit is contained in:
parent
7f02464f8b
commit
02a54c7d7b
12
0001-Compile-without-debug-symbols.patch
Normal file
12
0001-Compile-without-debug-symbols.patch
Normal 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",
|
@ -38,7 +38,7 @@ python3 -m venv .venv --prompt mongo
|
|||||||
source .venv/bin/activate
|
source .venv/bin/activate
|
||||||
python3 -m pip install -r etc/pip/compile-requirements.txt
|
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 \
|
python3 buildscripts/scons.py install-servers --config=force \
|
||||||
-j16 \
|
-j16 \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user