aboutsummaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2017-04-24 20:53:45 +0530
committerJussi Pakkanen <jpakkane@gmail.com>2017-04-27 18:36:54 +0300
commit42267f2afaa3b4cf69503cb6dc8edffdd46951b7 (patch)
treefc9d2b5b303ce9a4ca52d8ad3eac39b5ef62a49e /cross
parent568de3a14a068da775796a7724e26cc7daa9eab1 (diff)
downloadmeson-42267f2afaa3b4cf69503cb6dc8edffdd46951b7.zip
meson-42267f2afaa3b4cf69503cb6dc8edffdd46951b7.tar.gz
meson-42267f2afaa3b4cf69503cb6dc8edffdd46951b7.tar.bz2
Always pass cross-file {lang}_args to compiler checks
Includes a test for this that will only run on the CI. Closes https://github.com/mesonbuild/meson/issues/1665
Diffstat (limited to 'cross')
-rw-r--r--cross/ubuntu-armhf.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/cross/ubuntu-armhf.txt b/cross/ubuntu-armhf.txt
index 4aa52fa..d0fce20 100644
--- a/cross/ubuntu-armhf.txt
+++ b/cross/ubuntu-armhf.txt
@@ -9,6 +9,9 @@ pkgconfig = '/usr/bin/arm-linux-gnueabihf-pkg-config'
[properties]
root = '/usr/arm-linux-gnueabihf'
+# Used in unit test '140 get define'
+c_args = ['-DMESON_TEST_ISSUE_1665=1']
+cpp_args = ['-DMESON_TEST_ISSUE_1665=1']
has_function_printf = true
has_function_hfkerhisadf = false