Commit 9f3b9278 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Use -O0 -g C flags when compiling a debug way

parent 8af2d940
...@@ -1059,7 +1059,7 @@ wayOptc platform WayThreaded = case platformOS platform of ...@@ -1059,7 +1059,7 @@ wayOptc platform WayThreaded = case platformOS platform of
OSOpenBSD -> ["-pthread"] OSOpenBSD -> ["-pthread"]
OSNetBSD -> ["-pthread"] OSNetBSD -> ["-pthread"]
_ -> [] _ -> []
wayOptc _ WayDebug = [] wayOptc _ WayDebug = ["-O0", "-g"]
wayOptc _ WayDyn = ["-DDYNAMIC"] wayOptc _ WayDyn = ["-DDYNAMIC"]
wayOptc _ WayProf = ["-DPROFILING"] wayOptc _ WayProf = ["-DPROFILING"]
wayOptc _ WayEventLog = ["-DTRACING"] wayOptc _ WayEventLog = ["-DTRACING"]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment