Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Tomasz Żyjewski <tomasz.zyjewski@3mdeb.com>
- Loading branch information
Showing
2 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
recipes-extended/liblucihttp/liblucihttp/0001-CMakeLists.txt-remove-Werror-flag.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
From 9c23211693ca13d270b2866cd9a3e6486e15626a Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?Tomasz=20=C5=BByjewski?= <tomasz.zyjewski@3mdeb.com> | ||
Date: Thu, 11 Feb 2021 15:41:11 +0100 | ||
Subject: [PATCH] CMakeLists.txt-remove-Werror-flag | ||
MIME-Version: 1.0 | ||
Content-Type: text/plain; charset=UTF-8 | ||
Content-Transfer-Encoding: 8bit | ||
|
||
Signed-off-by: Tomasz Żyjewski <tomasz.zyjewski@3mdeb.com> | ||
--- | ||
CMakeLists.txt | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 676c20aa6a00..ced7821d1d55 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -5,7 +5,7 @@ PROJECT(liblucihttp C) | ||
OPTION(BUILD_LUA "build Lua binding" ON) | ||
OPTION(BUILD_TESTS "build test programs" ON) | ||
|
||
-ADD_DEFINITIONS(-Os -ggdb -Wall -Werror --std=gnu99 -Wmissing-declarations -Wno-format-truncation) | ||
+ADD_DEFINITIONS(-Os -ggdb -Wall --std=gnu99 -Wmissing-declarations -Wno-format-truncation) | ||
|
||
SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") | ||
|
||
-- | ||
2.17.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Recipe created by recipetool | ||
# This is the basis of a recipe and may need further editing in order to be fully functional. | ||
# (Feel free to remove these comments when editing.) | ||
|
||
# WARNING: the following LICENSE and LIC_FILES_CHKSUM values are best guesses - it is | ||
# your responsibility to verify that the values are complete and correct. | ||
LICENSE = "MIT" | ||
LIC_FILES_CHKSUM = "file://LICENSE;md5=a6b7565d075eb26cd08b6ac739db35e3" | ||
|
||
SRC_URI = " \ | ||
git://github.com/jow-/lucihttp;protocol=https \ | ||
file://0001-CMakeLists.txt-remove-Werror-flag.patch \ | ||
" | ||
|
||
DEPENDS = "lua5.1" | ||
|
||
# Modify these as desired | ||
PV = "1.0+git${SRCPV}" | ||
SRCREV = "a34a17d501c0e23f0a91dd9d3e87697347c861ba" | ||
|
||
S = "${WORKDIR}/git" | ||
|
||
# NOTE: unable to map the following pkg-config dependencies: (lua5.1 or lua-5.1 or lua) | ||
# (this is based on recipes that have previously been built and packaged) | ||
inherit cmake pkgconfig | ||
|
||
# Specify any options you want to pass to cmake using EXTRA_OECMAKE: | ||
EXTRA_OECMAKE = "-DBUILD_LUA=off -DBUILD_TESTS=off" |