Skip to content

Commit

Permalink
Merge f7ecf65 into 12df69e
Browse files Browse the repository at this point in the history
  • Loading branch information
ebraminio committed Mar 11, 2020
2 parents 12df69e + f7ecf65 commit a8ec9d3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,17 @@ if cpp.get_id() == 'msvc'
# noseh_link_args = ['/SAFESEH:NO']
endif

add_global_arguments(cpp.get_supported_arguments(['-fno-rtti', '-fno-exceptions', '-fno-threadsafe-statics']), language : 'cpp')

# maybe needed to not apply for mingw
add_global_arguments(cpp.get_supported_arguments(['-fvisibility-inlines-hidden']), language : 'cpp')

if host_machine.cpu_family() == 'arm' and cpp.alignment('struct { char c; }') != 1
if cpp.has_argument('-mstructure-size-boundary=8')
add_global_arguments('-mstructure-size-boundary=8', language : 'cpp')
endif
endif

python3 = import('python').find_installation('python3')

check_headers = [
Expand Down

0 comments on commit a8ec9d3

Please sign in to comment.