Suppress all build warnings 36/155336/1 accepted/tizen_4.0_unified tizen_4.0 accepted/tizen/4.0/unified/20171017.211413 accepted/tizen/unified/20171016.064409 submit/tizen/20171013.085256 submit/tizen_4.0/20171013.085243 tizen_4.0.IoT.p2_release tizen_4.0.m2_release
authorHoyub Lee <hoyub.lee@samsung.com>
Fri, 13 Oct 2017 02:59:29 +0000 (11:59 +0900)
committerHoyub Lee <hoyub.lee@samsung.com>
Fri, 13 Oct 2017 02:59:32 +0000 (11:59 +0900)
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>
packaging/Vulkan-LoaderAndValidationLayers.spec

index 05b8b38..fc96c49 100644 (file)
@@ -36,6 +36,8 @@ Khronos Vulkan Loader
 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