packaging: build with _smp_mflags macro for build speed 11/263311/1
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 5 Mar 2021 07:14:28 +0000 (16:14 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Tue, 31 Aug 2021 08:27:07 +0000 (17:27 +0900)
To support build with multiple jobs, add _smp_mflags macro to
make command.

Change-Id: If2054ed8128b61ee4852d5780d5c33e8f812b3db
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
packaging/libomxil-vc4.spec

index 9b490d1..05627b0 100755 (executable)
@@ -39,7 +39,7 @@ BUILDSUBDIR=`echo $BUILDTYPE | tr '[A-Z]' '[a-z]'`;
 mkdir -p build/armv7l-linux/$BUILDSUBDIR
 pushd build/armv7l-linux/$BUILDSUBDIR
 cmake -DCMAKE_BUILD_TYPE=Release ../../../
-make
+make %{?_smp_mflags}
 popd
 
 %post