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

Split verbose make flags to a separate macro #799

Merged

Conversation

jasontibbitts
Copy link

If I didn't screw this up, it should help with #798. It just pulls the V=1 VERBOSE=1 bit out to a separate macro to make it easier to override.

@@ -1073,7 +1073,8 @@ package or when debugging this package.\

#------------------------------------------------------------------------------
# The "make" analogue, hiding the _smp_mflags magic from specs
%make_build %{__make} %{_make_output_sync} %{?_smp_mflags} V=1 VERBOSE=1
%_make_verbose V=1 VERBOSE=1
%make_build %{__make} %{_make_output_sync} %{?_smp_mflags} %{_make_verbose}
Copy link
Member

@Conan-Kudo Conan-Kudo Jul 25, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

%{_make_verbose} -> %{?_make_verbose} (nevermind this...)

Also, can you put the %_make_verbose macro in its own "section" like %_make_output_sync was?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I did everything correctly, I believe I've done what you requested.

Adding V=1 is known to break at least one upstream Makefile, so move the
verbosity options to a separate macro to simplify the workaround.
Copy link
Member

@pmatilai pmatilai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine with me.

@pmatilai pmatilai merged commit c7e0b61 into rpm-software-management:master Aug 7, 2019
@jasontibbitts jasontibbitts deleted the make_build_verbose branch August 8, 2019 00:06
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.

3 participants