All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v1] package/wireshark: fix compile with ccache enabled
@ 2022-03-25 19:09 Peter Seiderer
  2022-03-27 16:28 ` Arnout Vandecappelle
  2022-03-31 11:44 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Seiderer @ 2022-03-25 19:09 UTC (permalink / raw)
  To: buildroot; +Cc: Dan Ambrosio

- use HOSTCC_NOCCACHE (instead of HOSTCC) for LEMON_C_COMPILER

Fixes:
  [...] /usr/bin/cmake [...] -DLEMON_C_COMPILER=.../host/bin/ccache /usr/bin/gcc [...]
  [...]
  [  0%] Building C object tools/lemon/CMakeFiles/lemon.dir/lemon.c.o
  .../host/bin/ccache: invalid option -- 'D'

Reported-by: Dan Ambrosio <dambrosio@outrider.ai>
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
 package/wireshark/wireshark.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/wireshark/wireshark.mk b/package/wireshark/wireshark.mk
index a5ca4b1f73..1a549f7037 100644
--- a/package/wireshark/wireshark.mk
+++ b/package/wireshark/wireshark.mk
@@ -25,7 +25,7 @@ WIRESHARK_CONF_OPTS = \
 	-DENABLE_ILBC=OFF \
 	-DENABLE_PCAP=ON \
 	-DENABLE_SMI=OFF \
-	-DLEMON_C_COMPILER=$(HOSTCC)
+	-DLEMON_C_COMPILER=$(HOSTCC_NOCCACHE)
 
 ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
 WIRESHARK_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic
-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH v1] package/wireshark: fix compile with ccache enabled
  2022-03-25 19:09 [Buildroot] [PATCH v1] package/wireshark: fix compile with ccache enabled Peter Seiderer
@ 2022-03-27 16:28 ` Arnout Vandecappelle
  2022-03-31 11:44 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Arnout Vandecappelle @ 2022-03-27 16:28 UTC (permalink / raw)
  To: Peter Seiderer, buildroot; +Cc: Dan Ambrosio



On 25/03/2022 20:09, Peter Seiderer wrote:
> - use HOSTCC_NOCCACHE (instead of HOSTCC) for LEMON_C_COMPILER
> 
> Fixes:
>    [...] /usr/bin/cmake [...] -DLEMON_C_COMPILER=.../host/bin/ccache /usr/bin/gcc [...]
>    [...]
>    [  0%] Building C object tools/lemon/CMakeFiles/lemon.dir/lemon.c.o
>    .../host/bin/ccache: invalid option -- 'D'
> 
> Reported-by: Dan Ambrosio <dambrosio@outrider.ai>
> Signed-off-by: Peter Seiderer <ps.report@gmx.net>

  Applied to master, thanks.

  Regards,
  Arnout

> ---
>   package/wireshark/wireshark.mk | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/wireshark/wireshark.mk b/package/wireshark/wireshark.mk
> index a5ca4b1f73..1a549f7037 100644
> --- a/package/wireshark/wireshark.mk
> +++ b/package/wireshark/wireshark.mk
> @@ -25,7 +25,7 @@ WIRESHARK_CONF_OPTS = \
>   	-DENABLE_ILBC=OFF \
>   	-DENABLE_PCAP=ON \
>   	-DENABLE_SMI=OFF \
> -	-DLEMON_C_COMPILER=$(HOSTCC)
> +	-DLEMON_C_COMPILER=$(HOSTCC_NOCCACHE)
>   
>   ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
>   WIRESHARK_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH v1] package/wireshark: fix compile with ccache enabled
  2022-03-25 19:09 [Buildroot] [PATCH v1] package/wireshark: fix compile with ccache enabled Peter Seiderer
  2022-03-27 16:28 ` Arnout Vandecappelle
@ 2022-03-31 11:44 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-03-31 11:44 UTC (permalink / raw)
  To: Peter Seiderer; +Cc: Dan Ambrosio, buildroot

>>>>> "Peter" == Peter Seiderer <ps.report@gmx.net> writes:

 > - use HOSTCC_NOCCACHE (instead of HOSTCC) for LEMON_C_COMPILER
 > Fixes:
 >   [...] /usr/bin/cmake [...] -DLEMON_C_COMPILER=.../host/bin/ccache /usr/bin/gcc [...]
 >   [...]
 >   [  0%] Building C object tools/lemon/CMakeFiles/lemon.dir/lemon.c.o
 >   .../host/bin/ccache: invalid option -- 'D'

 > Reported-by: Dan Ambrosio <dambrosio@outrider.ai>
 > Signed-off-by: Peter Seiderer <ps.report@gmx.net>

Committed to 2021.02.x and 2022.02.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-03-31 11:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-25 19:09 [Buildroot] [PATCH v1] package/wireshark: fix compile with ccache enabled Peter Seiderer
2022-03-27 16:28 ` Arnout Vandecappelle
2022-03-31 11:44 ` Peter Korsgaard

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.