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

added compilation symbols #219

Draft
wants to merge 2 commits into
base: development
Choose a base branch
from

Conversation

@RabbITCybErSeC RabbITCybErSeC linked an issue Sep 5, 2024 that may be closed by this pull request
@RabbITCybErSeC RabbITCybErSeC changed the title -s disable symbol table -w disable DWARF generation added compilation symbols Sep 5, 2024
@RabbITCybErSeC RabbITCybErSeC marked this pull request as ready for review September 5, 2024 07:08
makefile Outdated
@@ -5,6 +5,7 @@ DIRECTORY = $(sort $(dir $(wildcard ./test/*/)))
VERSION = $(shell git describe --tags --dirty)
BUILDTIME := $(shell date '+%Y-%m-%dT%T%z')

GOLDFLAGS += -s -w
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these only should be used for production builds

Copy link
Collaborator

@MaartendeKruijf MaartendeKruijf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update to only use in production builds as this will hamper the ability to debug

@MaartendeKruijf MaartendeKruijf marked this pull request as draft November 7, 2024 15:16
@MaartendeKruijf MaartendeKruijf force-pushed the feature/218-fix-build-flags branch from 034d10d to eaba4e0 Compare November 22, 2024 13:21
Copy link

github-actions bot commented Nov 22, 2024

Sigrid maintainability feedback

💭️ You did not change any files that are measured by Sigrid


View this system in Sigrid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fix build flags
2 participants