-
Hi, I wonder how to pass target specific flags when cross compiling? How to specify different Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Just set different values for |
Beta Was this translation helpful? Give feedback.
-
Target specific flags are actually triplet specific flags. |
Beta Was this translation helpful? Give feedback.
Just set different values for
VCPKG_C_FLAGS
in host and target triplet.https://learn.microsoft.com/en-us/vcpkg/users/triplets#vcpkg_cxx_flags