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

Local compiler flags ignored #208

Open
PeterBBBBB opened this issue Dec 1, 2023 · 0 comments
Open

Local compiler flags ignored #208

PeterBBBBB opened this issue Dec 1, 2023 · 0 comments

Comments

@PeterBBBBB
Copy link

The Makefile ignores any local settings of compiler flags (hardening for example).

  1. Flags set with CFLAGS= which overwrites. CFLAGS+= would add to existing values.
  2. Any local linker flags in $LDFLAGS are not used at all.

Carrying a patch for this here
https://salsa.debian.org/debian/duma/-/blob/master/debian/patches/002-makefile.patch

C++ flags are usually in CXXFLAGS not CPPFLAGS (for the C preprocessor)
but this does not itself seem to cause a problem.

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

No branches or pull requests

1 participant