diff options
| -rw-r--r-- | xmake/rules/mode/xmake.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/rules/mode/xmake.lua b/xmake/rules/mode/xmake.lua index f554ce93d..308dec90f 100644 --- a/xmake/rules/mode/xmake.lua +++ b/xmake/rules/mode/xmake.lua @@ -101,6 +101,9 @@ rule("mode.releasedbg") -- enable NDEBUG macros to disables standard-C assertions target:add("cxflags", "-DNDEBUG") target:add("cuflags", "-DNDEBUG") + + -- #5777: '--device-debug (-G)' overrides '--generate-line-info (-lineinfo)' in nvcc + target:add("cuflags", "-lineinfo") end end) |
