Repository navigation
Closes #5144: Clean up linking warning in make - #5145
Merged
ajpotts merged 1 commit intoDec 17, 2025
Merged
Conversation
1RyanK
force-pushed
the
5144-Clean_up_linking_warning_in_make
branch
2 times, most recently
from
December 14, 2025 13:47
2c8af19 to
80e11f8
Compare
jabraham17
reviewed
Dec 15, 2025
1RyanK
force-pushed
the
5144-Clean_up_linking_warning_in_make
branch
from
December 15, 2025 19:03
3ef1a70 to
2497c3a
Compare
jabraham17
reviewed
Dec 15, 2025
1RyanK
force-pushed
the
5144-Clean_up_linking_warning_in_make
branch
2 times, most recently
from
December 15, 2025 19:27
54db603 to
00e56c0
Compare
jabraham17
approved these changes
Dec 15, 2025
1RyanK
force-pushed
the
5144-Clean_up_linking_warning_in_make
branch
from
December 17, 2025 12:55
00e56c0 to
6871226
Compare
e-kayrakli
reviewed
Dec 17, 2025
e-kayrakli
approved these changes
Dec 17, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixed unused
-Lwarnings during C++ compilation by separating compile and link flagsThis PR updates the
add-pathmacro in the Makefile to avoid passing-L(library search paths) to compilation steps. Previously,INCLUDE_FLAGScontained both-Iand-Lpaths, butINCLUDE_FLAGSis used for compilation (clang++ -c). Since the-Lflag is only meaningful at link time, Clang emitted warnings like:What changed
INCLUDE_FLAGSnow contains only-Iinclude paths.CHPL_FLAGSnow contains the-Lpaths and corresponding--ldflags="-Wl,-rpath,...".Why this matters
Closes #5144: Clean up linking warning in make