Simplify the 32-bit mode detection

This commit is contained in:
Robbert van der Helm
2020-04-30 12:55:42 +02:00
parent 6ca7eae16a
commit 79e8a37c39
2 changed files with 7 additions and 10 deletions
+3 -4
View File
@@ -31,6 +31,9 @@ compiler_options = []
if get_option('use-winedbg')
compiler_options += '-DUSE_WINEDBG'
endif
if get_option('use-bitbridge')
compiler_options += '-DUSE_BITBRIDGE'
endif
# Generate header files for configuration variables such as the current git tag
# and the name of the host binary
@@ -92,10 +95,6 @@ executable(
if get_option('use-bitbridge')
message('Bitbridge enabled, configuring a 32-bit host application')
# Only used to add a notice when the host starts to indicate that we're
# running in 32-bit compatibility mode
compiler_options += '-DUSE_BITBRIDGE'
# I honestly have no idea what the correct way to have `find_dependency()` use
# `/usr/lib32` instead of `/usr/lib` is. If anyone does know, please tell me!
winegcc = meson.get_compiler('cpp', native : false)