diff options
| -rw-r--r-- | meta-oe/recipes-extended/libleak/libleak/0001-respect-environment-variables.patch | 13 | ||||
| -rw-r--r-- | meta-oe/recipes-extended/libleak/libleak_0.3.6.bb (renamed from meta-oe/recipes-extended/libleak/libleak_git.bb) | 5 |
2 files changed, 8 insertions, 10 deletions
diff --git a/meta-oe/recipes-extended/libleak/libleak/0001-respect-environment-variables.patch b/meta-oe/recipes-extended/libleak/libleak/0001-respect-environment-variables.patch index bbdfa3c960..979fd323ae 100644 --- a/meta-oe/recipes-extended/libleak/libleak/0001-respect-environment-variables.patch +++ b/meta-oe/recipes-extended/libleak/libleak/0001-respect-environment-variables.patch | |||
| @@ -8,18 +8,17 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
| 8 | Makefile | 4 ++-- | 8 | Makefile | 4 ++-- |
| 9 | 1 file changed, 2 insertions(+), 2 deletions(-) | 9 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 10 | 10 | ||
| 11 | diff --git a/Makefile b/Makefile | ||
| 12 | index 1d70f17..c7e726e 100644 | ||
| 13 | --- a/Makefile | 11 | --- a/Makefile |
| 14 | +++ b/Makefile | 12 | +++ b/Makefile |
| 15 | @@ -1,5 +1,5 @@ | 13 | @@ -1,8 +1,8 @@ |
| 16 | -CFLAGS = -g -O2 -Wall -fPIC -Ilibwuya | 14 | -CFLAGS = -g -O2 -Wall -fPIC -Ilibwuya |
| 17 | -LDFLAGS = -Llibwuya | 15 | -LDFLAGS = -Llibwuya |
| 18 | +CFLAGS += -g -O2 -Wall -fPIC -Ilibwuya | 16 | +CFLAGS += -g -O2 -Wall -fPIC -Ilibwuya |
| 19 | +LDFLAGS += -Llibwuya | 17 | +LDFLAGS += -Llibwuya |
| 20 | 18 | ||
| 21 | libleak.so: libleak.o | 19 | libleak.so: libleak.o |
| 22 | CFLAGS='-fPIC' make -C libwuya | 20 | - CFLAGS='-fPIC' make -C libwuya |
| 23 | -- | 21 | + make -C libwuya |
| 24 | 2.30.1 | 22 | $(CC) -shared -o $@ $^ $(LDFLAGS) -lwuya -lpthread -ldl -lbacktrace |
| 25 | 23 | ||
| 24 | clean: | ||
diff --git a/meta-oe/recipes-extended/libleak/libleak_git.bb b/meta-oe/recipes-extended/libleak/libleak_0.3.6.bb index a83a11c684..e3e4c01acb 100644 --- a/meta-oe/recipes-extended/libleak/libleak_git.bb +++ b/meta-oe/recipes-extended/libleak/libleak_0.3.6.bb | |||
| @@ -8,13 +8,12 @@ LIC_FILES_CHKSUM = "file://README.md;beginline=18;endline=21;md5=de4f705f12cdedb | |||
| 8 | 8 | ||
| 9 | DEPENDS += "libbacktrace" | 9 | DEPENDS += "libbacktrace" |
| 10 | 10 | ||
| 11 | PE = "1" | ||
| 12 | SRCREV = "1c56b0a2ba643db976f589ec04b246e693b6c0ce" | ||
| 11 | SRC_URI = "gitsm://github.com/WuBingzheng/libleak;protocol=https;branch=master \ | 13 | SRC_URI = "gitsm://github.com/WuBingzheng/libleak;protocol=https;branch=master \ |
| 12 | file://0001-respect-environment-variables.patch \ | 14 | file://0001-respect-environment-variables.patch \ |
| 13 | " | 15 | " |
| 14 | 16 | ||
| 15 | PV = "1.0+git${SRCPV}" | ||
| 16 | SRCREV = "ea2bb608ae25701692269a37d39d77e966b887ac" | ||
| 17 | |||
| 18 | S = "${WORKDIR}/git" | 17 | S = "${WORKDIR}/git" |
| 19 | 18 | ||
| 20 | do_configure () { | 19 | do_configure () { |
