roc-streaming / roc-toolkit

Real-time audio streaming over the network.
https://roc-streaming.org
Mozilla Public License 2.0
1.09k stars 213 forks source link

Support using ccache when building gengetopt and ragel #732

Closed jeshwanthreddy13 closed 5 months ago

jeshwanthreddy13 commented 5 months ago

Fixes #639

Additional Notes:

gavv commented 5 months ago

Hi!

Please take a look at the part of task about cross-compilation. We can't just use CC and CXX because they're set to cross-compiler, not native compiler.

jeshwanthreddy13 commented 5 months ago

Hi!

Please take a look at the part of task about cross-compilation. We can't just use CC and CXX because they're set to cross-compiler, not native compiler.

Okay, so we need to make sure that CC and CXX are always passed with native compilers instead of the cross compilers for ragel and gengetopt?

gavv commented 5 months ago

Yes, because they are build tools running during build.

gavv commented 5 months ago

Thanks!!

Small follow-up commit: bf5e3656925678e0d0872c50224ac7bb4cf40d1e

(see commit message for details)