packaging: Add -Wformat options to disable warnings and tests FAIL. 98/179398/2
authorMikhail Kashkarov <m.kashkarov@partner.samsung.com>
Thu, 17 May 2018 13:32:19 +0000 (16:32 +0300)
committerDongkyun Son <dongkyun.s@samsung.com>
Thu, 19 Jul 2018 09:13:50 +0000 (09:13 +0000)
commit6cb8bbb4a6f6a7812068ca160a39cd535141e873
tree455f837ebffa8d9f8ac7603f86d84358758bca4a
parent89fa5578505d28a6ed9b3c5f5d4a7810eb498ca0
packaging: Add -Wformat options to disable warnings and tests FAIL.

"-Wformat-..." options generate warnings like:

  cc1: warning: -Wformat-security ignored without -Wformat [-Wformat-security]

that makes a lot of unexpected failures in testsuite while checking produced
output (FAIL: .. test for excess errors) and also results comparison is messed
up for the new tests.
Insert -Wformat if it's missing.

Change-Id: Ia61f256b1f8c3fe5b3ee3c02d363eb901c68adbe
packaging/gcc-aarch64.spec
packaging/gcc-armv7hl.spec
packaging/gcc-armv7l.spec
packaging/linaro-gcc.spec