Dont omit frame pointer in debug and profile builds
This commit is contained in:
parent
481eccfe3c
commit
a0424bf1bd
1 changed files with 3 additions and 0 deletions
3
setup.py
3
setup.py
|
|
@ -507,6 +507,9 @@ def init_env(
|
|||
cflags.append('-g3')
|
||||
ldflags.append('-lprofiler')
|
||||
|
||||
if debug or profile:
|
||||
cflags.append('-fno-omit-frame-pointer')
|
||||
|
||||
library_paths: Dict[str, List[str]] = {}
|
||||
|
||||
def add_lpath(which: str, name: str, val: Optional[str]) -> None:
|
||||
|
|
|
|||
Loading…
Reference in a new issue