From 42267f2afaa3b4cf69503cb6dc8edffdd46951b7 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Mon, 24 Apr 2017 20:53:45 +0530 Subject: 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 --- cross/ubuntu-armhf.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cross') diff --git a/cross/ubuntu-armhf.txt b/cross/ubuntu-armhf.txt index 4aa52faf3..d0fce20ac 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 -- cgit v1.2.3