aboutsummaryrefslogtreecommitdiffstats
path: root/meson/cross/ownstdlib.txt
diff options
context:
space:
mode:
Diffstat (limited to 'meson/cross/ownstdlib.txt')
-rw-r--r--meson/cross/ownstdlib.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/meson/cross/ownstdlib.txt b/meson/cross/ownstdlib.txt
new file mode 100644
index 000000000..bdff6f44d
--- /dev/null
+++ b/meson/cross/ownstdlib.txt
@@ -0,0 +1,13 @@
+# This is a setup for compiling a program that runs natively
+# but uses a custom std lib. This test will only work on
+# x86_64.
+
+[target_machine]
+system = 'linux'
+cpu_family = 'x86_64'
+cpu = 'x86_64'
+endian = 'little'
+
+[properties]
+
+c_stdlib = 'mylibc' # Subproject name