Skip to content

Move debug symbols compile flag behind definition #18

Open
@furtiman

Description

@furtiman

Currently CFLAGS includes -g by default. LDFLAGS does not include it at all.

It would be better to do this in Makefile:

ifeq (${DEBUG},1)
CFLAGS += -g
LDFLAGS += -g
endif

I'll track this issue and make a PR when my load is a bit less
cc @rajames

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions