mirror of
https://github.com/gnustep/tools-make.git
synced 2025-05-29 16:31:13 +00:00
Generate a PDB debug file when running on Windows MSVC
This commit is contained in:
parent
7218248df7
commit
3fbf44d28e
1 changed files with 8 additions and 0 deletions
|
@ -43,6 +43,14 @@ endif
|
|||
INTERNAL_CFLAGS = -pthread
|
||||
INTERNAL_OBJCFLAGS = -pthread
|
||||
INTERNAL_LDFLAGS =
|
||||
|
||||
ifeq ($(debug), yes)
|
||||
# Embed PDB Debug Info on Windows MSVC
|
||||
ifeq ($(findstring windows, $(GNUSTEP_TARGET_OS)), windows)
|
||||
INTERNAL_LDFLAGS += -Wl,-debug
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq ($(findstring android, $(GNUSTEP_TARGET_OS)), android)
|
||||
ifneq ($(GNUSTEP_TARGET_OS), windows)
|
||||
INTERNAL_LDFLAGS = -pthread
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue