This is the open source package which we don't make changes.
Therefore, as there is no need to fix or change build warnings,
suppress all build warnings by adding '-w' flag.
Change-Id: Idc081ad7d27b8337b98d984104813f3847a84c23
Signed-off-by: Hoyub Lee <hoyub.lee@samsung.com>
cp %{SOURCE1001} .
# build vulkan loader
+export CFLAGS="$CFLAGS -w"
+
cmake -H. -Bdbuild -DCMAKE_BUILD_TYPE=%{BUILD_TYPE} -DBUILD_TESTS=OFF -DBUILD_DEMOS=OFF -DBUILD_LAYERS=OFF -DBUILD_WSI_XLIB_SUPPORT=OFF -DBUILD_WSI_XCB_SUPPORT=OFF -DBUILD_WSI_WAYLAND_SUPPORT=ON
cd dbuild
make