mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
config/functions: add C++ compiler and linker flags to meson.conf
Due to missing cpp_args and cpp_link_args in meson.conf ninja builds of projects with C++ code were performed without CPU optimization flags (-march, -mcpu, -mtune etc). Add these args so C++ code is built with proper flags. Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
parent
08c06b05cf
commit
ca952e8937
@ -386,6 +386,8 @@ endian = '$endian'
|
||||
root = '$root'
|
||||
$(python -c "import os; print('c_args = {}'.format([x for x in os.getenv('CFLAGS').split()]))")
|
||||
$(python -c "import os; print('c_link_args = {}'.format([x for x in os.getenv('LDFLAGS').split()]))")
|
||||
$(python -c "import os; print('cpp_args = {}'.format([x for x in os.getenv('CXXFLAGS').split()]))")
|
||||
$(python -c "import os; print('cpp_link_args = {}'.format([x for x in os.getenv('LDFLAGS').split()]))")
|
||||
${!properties}
|
||||
EOF
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user