소스 검색

Enabled debug symbols for x11 when using platform=release_debug and debug_release=yes together

koalefant 9 년 전
부모
커밋
bd396c5cfa
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      platform/x11/detect.py

+ 2 - 0
platform/x11/detect.py

@@ -118,6 +118,8 @@ def configure(env):
 	elif (env["target"]=="release_debug"):
 
 		env.Append(CCFLAGS=['-O2','-ffast-math','-DDEBUG_ENABLED'])
+		if (env["debug_release"]=="yes"):
+			env.Append(CCFLAGS=['-g2'])
 
 	elif (env["target"]=="debug"):