Fix #7 wrong ldc2 debug flag
This commit is contained in:
parent
422e0a4d1c
commit
7a539da653
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ SET(CMAKE_FIND_LIBRARY_SUFFIXES ".so" ".a")
|
||||||
SET (CMAKE_D_FLAGS_INIT "")
|
SET (CMAKE_D_FLAGS_INIT "")
|
||||||
# DMD can only produce 32-bit binaries for now
|
# DMD can only produce 32-bit binaries for now
|
||||||
SET (CMAKE_D_LINK_FLAGS "")
|
SET (CMAKE_D_LINK_FLAGS "")
|
||||||
SET (CMAKE_D_FLAGS_DEBUG_INIT "-g -debug -L--export-dynamic ${DDOC_FLAGS}")
|
SET (CMAKE_D_FLAGS_DEBUG_INIT "-g -d-debug -L--export-dynamic ${DDOC_FLAGS}")
|
||||||
SET (CMAKE_D_FLAGS_MINSIZEREL_INIT "-Os ${DDOC_FLAGS}")
|
SET (CMAKE_D_FLAGS_MINSIZEREL_INIT "-Os ${DDOC_FLAGS}")
|
||||||
SET (CMAKE_D_FLAGS_RELEASE_INIT "-O -release -inline ${DDOC_FLAGS}")
|
SET (CMAKE_D_FLAGS_RELEASE_INIT "-O -release -inline ${DDOC_FLAGS}")
|
||||||
SET (CMAKE_D_FLAGS_RELWITHDEBINFO_INIT "-O -g -L--export-dynamic ${DDOC_FLAGS}")
|
SET (CMAKE_D_FLAGS_RELWITHDEBINFO_INIT "-O -g -L--export-dynamic ${DDOC_FLAGS}")
|
||||||
|
|
Loading…
Reference in a new issue