How do I pass CC compiler flags #718
Unanswered
voidtrance
asked this question in
Q&A
Replies: 1 comment 2 replies
-
It is handled using the traditional environment variable |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am working on Python project that includes an extension module, which is compiled using
meson-python
. I am using the following Makefile target to compile the project:I want to be able to pass
-D<define>
command line options to the compiler. However, I can't figure out how to do that. I tried using--config-settings=compile-args
but that only passes arguments toninja
, not the CC compiler.Thanks for the help.
Beta Was this translation helpful? Give feedback.
All reactions