Dont omit frame pointer in debug and profile builds

This commit is contained in:
Kovid Goyal 2024-03-18 10:56:50 +05:30
parent 481eccfe3c
commit a0424bf1bd
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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: