[gbinder] Utilize make_build macro. JB#61933
Allow the build system to override the way make is invoked. Cannot use make_install equally as that does not allow to pass additional arguments to make.
This commit is contained in:
@@ -40,11 +40,11 @@ This package contains the development library for %{name}.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
make %{_smp_mflags} LIBDIR=%{_libdir} KEEP_SYMBOLS=1 release pkgconfig
|
||||
make -C test/binder-bridge KEEP_SYMBOLS=1 release
|
||||
make -C test/binder-list KEEP_SYMBOLS=1 release
|
||||
make -C test/binder-ping KEEP_SYMBOLS=1 release
|
||||
make -C test/binder-call KEEP_SYMBOLS=1 release
|
||||
%make_build LIBDIR=%{_libdir} KEEP_SYMBOLS=1 release pkgconfig
|
||||
%make_build -C test/binder-bridge -j1 KEEP_SYMBOLS=1 release
|
||||
%make_build -C test/binder-list -j1 KEEP_SYMBOLS=1 release
|
||||
%make_build -C test/binder-ping -j1 KEEP_SYMBOLS=1 release
|
||||
%make_build -C test/binder-call -j1 KEEP_SYMBOLS=1 release
|
||||
|
||||
%install
|
||||
make LIBDIR=%{_libdir} DESTDIR=%{buildroot} install-dev
|
||||
|
||||
Reference in New Issue
Block a user