package/wireshark: fix compile with ccache enabled
PATCH 1/1 package/wireshark: fix compile with ccache enabled
- 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'
--- package/wireshark/wireshark.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/wireshark/wireshark.mk +1 -1
@@ -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
Signature · 6 lines
2.35.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Arnout Vandecappelle
AppliedQuoted 10 lines · Peter Seiderer
- use
HOSTCC_NOCCACHE(instead of HOSTCC) forLEMON_C_COMPILERFixes:
[...] /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 <[email protected]>Signed-off-by Peter Seiderer <[email protected]>
Applied to master, thanks.
Regards,
Arnout
Quoted 9 lines
--- package/wireshark/wireshark.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)package/wireshark/wireshark.mk +0
-0
package/wireshark/wireshark.mk WIRESHARK_CONF_OPTS = \ · line 31
Quoted 8 lines
package/wireshark/wireshark.mk +1
-1@@ -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
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Peter" == Peter Seiderer <[email protected]> writes:
- use
HOSTCC_NOCCACHE(instead of HOSTCC) forLEMON_C_COMPILER
Fixes:
[...]/usr/bin/cmake[...] -DLEMON_C_COMPILER=.../host/bin/ccache/usr/bin/gcc[...] [...]
[ 0%] Building C objecttools/lemon/CMakeFiles/lemon.dir/lemon.c.o.../host/bin/ccache: invalid option -- 'D'Reported-by Dan Ambrosio <[email protected]>Signed-off-by Peter Seiderer <[email protected]>
Committed to 2021.02.x and 2022.02.x, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot