Skip to content

Commit

Permalink
use fallback if %make_build is not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
Björn Esser committed May 12, 2015
1 parent 26bf94a commit e494b4c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build-tools/rpm/macros.yast
Expand Up @@ -62,7 +62,11 @@
%yast_configure \
fi \
\
%make_build
%if "x%{?make_build}" != "x" \
%make_build \
%else # "x%%{?make_build}" != "x" \
%{__make} %{?jobs:-j%jobs}%{?!jobs:%{?_smp_mflags:%_smp_mflags}} \
%endif # "x%%{?make_build}" != "x"

%yast_check \
if [ ! -f "%{yast_ydatadir}/devtools/NO_MAKE_CHECK" ]; then \
Expand Down
1 change: 1 addition & 0 deletions package/yast2-devtools.changes
Expand Up @@ -4,6 +4,7 @@ Tue May 12 14:29:38 CEST 2015 - besser82@fedoraproject.org
- show warnings about problems with Autotools-setup
- split generation of Autotools into %yast_prep
- run configure with '--disable-silent-rules' and use %make_build
- use fallback if %make_build is not defined
- split './configure'-step into %yast_configure
- add %yast_libdir
- use macros instead of hardcoded paths
Expand Down

0 comments on commit e494b4c

Please sign in to comment.