Skip to content

Commit 452256d

Browse files
committed
NDEBUG might be causing issues
1 parent 278f5ce commit 452256d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

third_party/sm.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ def configure( env , fileLists , options ):
5959

6060
if options["windows"]:
6161
myenv["CPPFLAGS"] = myenv["CPPFLAGS"].replace( "/TP" , "" )
62-
62+
63+
if "NDEBUG" in myenv["CPPDEFINES"]:
64+
myenv["CPPDEFINES"].remove( "NDEBUG" )
6365

6466
if os.sys.platform.startswith( "linux" ) or os.sys.platform == "darwin":
6567
myenv["CPPDEFINES"] += [ "HAVE_VA_COPY" , "VA_COPY=va_copy" ]

0 commit comments

Comments
 (0)