* [STABLE][PATCH] pth: use LDFLAGS (fixes QA error)
@ 2009-04-06 12:19 Jeremy Lainé
2009-04-06 14:03 ` Koen Kooi
0 siblings, 1 reply; 2+ messages in thread
From: Jeremy Lainé @ 2009-04-06 12:19 UTC (permalink / raw)
To: openembedded-devel; +Cc: Jeremy Lainé
From: Jeremy Lainé <jeremy.laine@m4x.org>
Signed-off-by: Jeremy Lainé <jeremy.laine@m4x.org>
---
recipes/pth/files/ldflags.patch | 16 ++++++++++++++++
recipes/pth/pth_2.0.2.bb | 3 ++-
2 files changed, 18 insertions(+), 1 deletions(-)
create mode 100644 recipes/pth/files/ldflags.patch
diff --git a/recipes/pth/files/ldflags.patch b/recipes/pth/files/ldflags.patch
new file mode 100644
index 0000000..9537ca8
--- /dev/null
+++ b/recipes/pth/files/ldflags.patch
@@ -0,0 +1,16 @@
+diff -urN pth-2.0.2.orig/Makefile.in pth-2.0.2/Makefile.in
+--- pth-2.0.2.orig/Makefile.in 2004-07-13 10:48:10.000000000 +0000
++++ pth-2.0.2/Makefile.in 2009-04-06 12:12:37.000000000 +0000
+@@ -168,10 +168,10 @@
+
+ # build the static and possibly shared libraries
+ libpth.la: $(LOBJS)
+- $(LIBTOOL) --mode=link --quiet $(CC) -o libpth.la $(LOBJS) \
++ $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o libpth.la $(LOBJS) \
+ -rpath $(libdir) -version-info `$(SHTOOL) version -lc -dlibtool $(_VERSION_FILE)`
+ libpthread.la: pthread.lo $(LOBJS)
+- $(LIBTOOL) --mode=link --quiet $(CC) -o libpthread.la pthread.lo $(LOBJS) \
++ $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o libpthread.la pthread.lo $(LOBJS) \
+ -rpath $(libdir) -version-info `$(SHTOOL) version -lc -dlibtool $(_VERSION_FILE)`
+
+ # build the manual pages
diff --git a/recipes/pth/pth_2.0.2.bb b/recipes/pth/pth_2.0.2.bb
index 81b8a71..2583e03 100644
--- a/recipes/pth/pth_2.0.2.bb
+++ b/recipes/pth/pth_2.0.2.bb
@@ -2,10 +2,11 @@ DESCRIPTION = "GNU Portable Threads"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "GPL LGPL FDL"
-PR = "r1"
+PR = "r2"
SRC_URI = "${GNU_MIRROR}/pth/pth-${PV}.tar.gz \
file://m4-warning.patch;patch=1 \
+ file://ldflags.patch;patch=1 \
"
PARALLEL_MAKE=""
--
1.6.2.1
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [STABLE][PATCH] pth: use LDFLAGS (fixes QA error)
2009-04-06 12:19 [STABLE][PATCH] pth: use LDFLAGS (fixes QA error) Jeremy Lainé
@ 2009-04-06 14:03 ` Koen Kooi
0 siblings, 0 replies; 2+ messages in thread
From: Koen Kooi @ 2009-04-06 14:03 UTC (permalink / raw)
To: openembedded-devel
On 06-04-09 14:19, Jeremy Lainé wrote:
> From: Jeremy Lainé<jeremy.laine@m4x.org>
You're fixing stuff faster than my buildmachine can build :) Anyway, it
has caught up, so:
Acked-by: Koen Kooi <koen@openembedded.org>
>
>
> Signed-off-by: Jeremy Lainé<jeremy.laine@m4x.org>
> ---
> recipes/pth/files/ldflags.patch | 16 ++++++++++++++++
> recipes/pth/pth_2.0.2.bb | 3 ++-
> 2 files changed, 18 insertions(+), 1 deletions(-)
> create mode 100644 recipes/pth/files/ldflags.patch
>
> diff --git a/recipes/pth/files/ldflags.patch b/recipes/pth/files/ldflags.patch
> new file mode 100644
> index 0000000..9537ca8
> --- /dev/null
> +++ b/recipes/pth/files/ldflags.patch
> @@ -0,0 +1,16 @@
> +diff -urN pth-2.0.2.orig/Makefile.in pth-2.0.2/Makefile.in
> +--- pth-2.0.2.orig/Makefile.in 2004-07-13 10:48:10.000000000 +0000
> ++++ pth-2.0.2/Makefile.in 2009-04-06 12:12:37.000000000 +0000
> +@@ -168,10 +168,10 @@
> +
> + # build the static and possibly shared libraries
> + libpth.la: $(LOBJS)
> +- $(LIBTOOL) --mode=link --quiet $(CC) -o libpth.la $(LOBJS) \
> ++ $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o libpth.la $(LOBJS) \
> + -rpath $(libdir) -version-info `$(SHTOOL) version -lc -dlibtool $(_VERSION_FILE)`
> + libpthread.la: pthread.lo $(LOBJS)
> +- $(LIBTOOL) --mode=link --quiet $(CC) -o libpthread.la pthread.lo $(LOBJS) \
> ++ $(LIBTOOL) --mode=link --quiet $(CC) $(LDFLAGS) -o libpthread.la pthread.lo $(LOBJS) \
> + -rpath $(libdir) -version-info `$(SHTOOL) version -lc -dlibtool $(_VERSION_FILE)`
> +
> + # build the manual pages
> diff --git a/recipes/pth/pth_2.0.2.bb b/recipes/pth/pth_2.0.2.bb
> index 81b8a71..2583e03 100644
> --- a/recipes/pth/pth_2.0.2.bb
> +++ b/recipes/pth/pth_2.0.2.bb
> @@ -2,10 +2,11 @@ DESCRIPTION = "GNU Portable Threads"
> SECTION = "libs"
> PRIORITY = "optional"
> LICENSE = "GPL LGPL FDL"
> -PR = "r1"
> +PR = "r2"
>
> SRC_URI = "${GNU_MIRROR}/pth/pth-${PV}.tar.gz \
> file://m4-warning.patch;patch=1 \
> + file://ldflags.patch;patch=1 \
> "
>
> PARALLEL_MAKE=""
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-04-06 14:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-06 12:19 [STABLE][PATCH] pth: use LDFLAGS (fixes QA error) Jeremy Lainé
2009-04-06 14:03 ` Koen Kooi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.