meson: fix cpp cross compilation

This commit is contained in:
John 2017-09-30 12:09:47 +02:00 committed by Michael Gehring
parent 155d0519f1
commit 568df64d8e
1 changed files with 3 additions and 0 deletions

View File

@ -32,6 +32,9 @@ needs_exe_wrapper = true
c_args = ['$(echo ${CFLAGS} | sed -r "s/\s+/','/g")']
c_link_args = ['$(echo ${LDFLAGS} | sed -r "s/\s+/','/g")']
cpp_args = ['$(echo ${CXXFLAGS} | sed -r "s/\s+/','/g")']
cpp_link_args = ['$(echo ${LDFLAGS} | sed -r "s/\s+/','/g")']
[host_machine]
system = 'linux'
cpu_family = '${XBPS_MACHINE}'