-
Notifications
You must be signed in to change notification settings - Fork 87
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
Fix spec bconds and cmake options #325
base: main
Are you sure you want to change the base?
Conversation
Does libsolv provide a pkg-config file? If it does, then you should use "pkgconfig --static --libs libsolv" way instead of hard-coding libsolv dependencies into DNF5. Also dnf5.spec should build-require libsolv-static instead of repeating transitive dependencies of libsolv. |
@@ -29,7 +29,7 @@ set(SWIG_COMPILE_OPTIONS | |||
-Wno-missing-declarations | |||
-Wno-missing-field-initializers | |||
-Wno-sign-compare | |||
-Wno-sometimes-uninitialized | |||
# -Wno-sometimes-uninitialized |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be no longer needed, the problem was fixed in glib.
@dmach There is unanswered question from ppisar. May I ask you for your plans with the PR? |
rebased here to test #876 |
There's also a test running in GitHub Actions, but it takes over 40 minutes.
It's started only on changes in CMakeLists.txt and spec.
I'm not sure whether to keep it on by default.