summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2021-11-14 02:53:59 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2021-11-14 02:53:59 +0100
commitff548681f9c3ca79b57907dfe0e383961b8b14a6 (patch)
tree01107ce38926587164faf478bd79337d6cd893ce
parent584d83e5b8cf2fd56959f2200475a2fecd1fe974 (diff)
meson: work-in-progress host-compile
-rw-r--r--package/meson/src/host-compilation.conf.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/meson/src/host-compilation.conf.in b/package/meson/src/host-compilation.conf.in
new file mode 100644
index 000000000..c67cec76e
--- /dev/null
+++ b/package/meson/src/host-compilation.conf.in
@@ -0,0 +1,12 @@
+# Note: OpenADK's and Meson's terminologies differ about the meaning
+# of 'build', 'host' and 'target':
+# - OpenADK's 'host' is Meson's 'build'
+# - OpenADK's 'target' is Meson's 'host'
+
+[binaries]
+pkgconfig = '@STAGING_HOST_DIR@/usr/bin/pkg-config'
+[properties]
+c_args = [@HOST_CFLAGS@]
+c_link_args = [@HOST_LDFLAGS@]
+cpp_args = [@HOST_CXXFLAGS@]
+cpp_link_args = [@HOST_LDFLAGS@]