Skip to contentSkip to conversation

cmake: avoid configure failures if CFLAGS contains -Wstrict-prototypes

PATCH New Andre McCurdy 1 participant 1 message Oct 17, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cmake: avoid configure failures if CFLAGS contains -Wstrict-prototypes

---
 meta/recipes-devtools/cmake/cmake.inc              |  1 +
 ...void-gcc-warnings-with-Wstrict-prototypes.patch | 42 ++++++++++++++++++++++
 2 files changed, 43 insertions(+)
 create mode 100644 meta/recipes-devtools/cmake/cmake/avoid-gcc-warnings-with-Wstrict-prototypes.patch
meta/recipes-devtools/cmake/cmake.inc +1 -0
index 4fcb0b1..821bb81 100644
@@ -14,6 +14,7 @@ CMAKE_MAJOR_VERSION = "${@'.'.join(d.getVar('PV', True).split('.')[0:2])}"
 SRC_URI = "https://cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz \
            file://support-oe-qt4-tools-names.patch \
            file://qt4-fail-silent.patch \
+           file://avoid-gcc-warnings-with-Wstrict-prototypes.patch \
            "
 
 SRC_URI[md5sum] = "d6dd661380adacdb12f41b926ec99545"
meta/recipes-devtools/cmake/cmake/avoid-gcc-warnings-with-Wstrict-prototypes.patch new file +42 -0

42 lines not on this page · raw message

Signature · 1 line
1.9.1