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
test build does not respect CPPFLAGS/LDFLAGS from environment #1232
Milestone
Comments
This is fixed for 1.6.1, thanks. |
ralight
added a commit
that referenced
this issue
Apr 26, 2019
- Split CFLAGS and CPPFLAGS, and LDFLAGS and LDADD/LIBADD. - test/unit now respects CPPFLAGS and LDFLAGS. Closes #1232. Thanks to Greg Troxel.
ralight
added a commit
that referenced
this issue
Sep 18, 2019
- Split CFLAGS and CPPFLAGS, and LDFLAGS and LDADD/LIBADD. - test/unit now respects CPPFLAGS and LDFLAGS. Closes #1232. Thanks to Greg Troxel.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Doing "gmake tests" (without cmake) does not respect CPPFLAGS and LDFLAGS from the environment. This is needed in my case to find CUnit and uthash, which are built with prefix of /usr/pkg. This is an issue in the tests subdirectory, not just top-level.
The test makefile does not separate LDFLAGS (for -L/-R) and LDADD (for -lfoo). That contributes to not being able to pass in LDFLAGS.
(I believe that the non-cmake build should be retired, but as it is the only way to run tests at the moment, I thought I should report this.)
The text was updated successfully, but these errors were encountered: