* [Buildroot] [PATCH 1/1] package/pngquant: fix target build
@ 2017-09-06 16:39 Bernd Kuhls
2017-09-06 19:44 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2017-09-06 16:39 UTC (permalink / raw)
To: buildroot
Pngquant 2.10 introduced a bundled library libimagequant, Makefile
passes $LIQCONFIGUREFLAGS to the configure script of libimagequant
before building this library:
https://github.com/pornel/pngquant/blob/master/Makefile#L27
This variable is filled by configure with the content of $LIQCONFIGURE
https://github.com/pornel/pngquant/blob/master/configure#L553
We need to pass CC/CFLAGS/LDFLAGS as parameter to configure to fill
$LIQCONFIGURE with correct values in order to use the target toolchain
for building libimagequant:
https://github.com/pornel/pngquant/blob/master/configure#L56
Fixes
http://autobuild.buildroot.net/results/ab1/ab1193db9d76adc02be44d6f273e0986952df3e2/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/pngquant/pngquant.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/pngquant/pngquant.mk b/package/pngquant/pngquant.mk
index a602cbef5..1ce8359d4 100644
--- a/package/pngquant/pngquant.mk
+++ b/package/pngquant/pngquant.mk
@@ -22,6 +22,7 @@ define PNGQUANT_CONFIGURE_CMDS
./configure --prefix=/usr \
$(if $(BR2_PACKAGE_LCMS2),--with-lcms2,--without-lcms2) \
$(if $(BR2_X86_CPU_HAS_SSE),--enable-sse,--disable-sse) \
+ $(TARGET_CONFIGURE_OPTS) \
)
endef
--
2.11.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] package/pngquant: fix target build
2017-09-06 16:39 [Buildroot] [PATCH 1/1] package/pngquant: fix target build Bernd Kuhls
@ 2017-09-06 19:44 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2017-09-06 19:44 UTC (permalink / raw)
To: buildroot
Hello,
On Wed, 6 Sep 2017 18:39:04 +0200, Bernd Kuhls wrote:
> Pngquant 2.10 introduced a bundled library libimagequant, Makefile
> passes $LIQCONFIGUREFLAGS to the configure script of libimagequant
> before building this library:
> https://github.com/pornel/pngquant/blob/master/Makefile#L27
>
> This variable is filled by configure with the content of $LIQCONFIGURE
> https://github.com/pornel/pngquant/blob/master/configure#L553
>
> We need to pass CC/CFLAGS/LDFLAGS as parameter to configure to fill
> $LIQCONFIGURE with correct values in order to use the target toolchain
> for building libimagequant:
> https://github.com/pornel/pngquant/blob/master/configure#L56
>
> Fixes
> http://autobuild.buildroot.net/results/ab1/ab1193db9d76adc02be44d6f273e0986952df3e2/
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> package/pngquant/pngquant.mk | 1 +
> 1 file changed, 1 insertion(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-09-06 19:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-06 16:39 [Buildroot] [PATCH 1/1] package/pngquant: fix target build Bernd Kuhls
2017-09-06 19:44 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox