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

Revert "Remove flags getting specified twice" #35

Merged
merged 1 commit into from
May 30, 2021

Conversation

skitt
Copy link
Contributor

@skitt skitt commented Apr 24, 2021

This reverts commit d0b87db.

CPPFLAGS aren't C++ flags, they're C pre-processor flags; with
dpkg-buildflags these include -D_FORTIFY_SOURCE=2 which is a shame to
do without.

Signed-off-by: Stephen Kitt steve@sk2.org

This reverts commit d0b87db.

CPPFLAGS aren't C++ flags, they're C pre-processor flags; with
dpkg-buildflags these include -D_FORTIFY_SOURCE=2 which is a shame to
do without.

Signed-off-by: Stephen Kitt <steve@sk2.org>
@Matthias-Wandel
Copy link
Owner

I don't understand. jhead doesn't use any C++, so why do we need the C++ flags? If the CPPFLAGS are also for C, what would be the point of even having separate CPPFLAGS?

@skitt
Copy link
Contributor Author

skitt commented Apr 24, 2021

I don't understand. jhead doesn't use any C++, so why do we need the C++ flags? If the CPPFLAGS are also for C, what would be the point of even having separate CPPFLAGS?

CPPFLAGS are for the pre-processor, irrespective of language. (C++ flags go in CXXFLAGS.) They are described in the GNU Make manual.

@Matthias-Wandel
Copy link
Owner

Should have merged this earlier

@Matthias-Wandel Matthias-Wandel merged commit c0c78ab into Matthias-Wandel:master May 30, 2021
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.

None yet

2 participants