make sure this actually uses clang fully

This commit is contained in:
Mars 2024-09-27 19:05:30 -04:00
parent 647f318d1f
commit 95eafb2432
Signed by untrusted user: pupbrained
GPG key ID: 874E22DF2F9DFCB5
2 changed files with 2 additions and 1 deletions

View file

@ -23,9 +23,11 @@ common_cpp_args = [
'-Wno-unsafe-buffer-usage', '-Wno-unsafe-buffer-usage',
'-Wunused-function', '-Wunused-function',
'-fvisibility=hidden', '-fvisibility=hidden',
'-stdlib=libc++'
] ]
add_project_arguments(cpp.get_supported_arguments(common_cpp_args), language: 'cpp') add_project_arguments(cpp.get_supported_arguments(common_cpp_args), language: 'cpp')
add_project_arguments('-stdlib=libc++', language: 'cpp')
source_file_names = [ source_file_names = [
'src/main.cpp', 'src/main.cpp',

View file

@ -1,5 +1,4 @@
#include <cstdlib> #include <cstdlib>
#include <fmt/base.h>
#include <fmt/format.h> #include <fmt/format.h>
#include <iostream> #include <iostream>