Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move debug symbols compile flag behind definition #18

Open
furtiman opened this issue Mar 22, 2024 · 0 comments
Open

Move debug symbols compile flag behind definition #18

furtiman opened this issue Mar 22, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@furtiman
Copy link
Member

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

@furtiman furtiman added the enhancement New feature or request label Mar 22, 2024
@furtiman furtiman self-assigned this Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant