mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-14 01:57:27 +03:00
meson: use 'not in'
Follow-ups for 60f97fee2d2f948c8e8963ea8ff767008cb93cae and 32963344736004e01ff4dd9dca079faabaf58cf2.
This commit is contained in:
parent
ff71363c26
commit
53403091d6
@ -393,7 +393,7 @@ possible_common_cc_flags = [
|
||||
c_args = get_option('c_args')
|
||||
|
||||
# Our json library does not support -ffinite-math-only, which is enabled by -Ofast or -ffast-math.
|
||||
if (('-Ofast' in c_args or '-ffast-math' in c_args or '-ffinite-math-only' in c_args) and not ('-fno-finite-math-only' in c_args))
|
||||
if (('-Ofast' in c_args or '-ffast-math' in c_args or '-ffinite-math-only' in c_args) and '-fno-finite-math-only' not in c_args)
|
||||
error('-Ofast, -ffast-math, or -ffinite-math-only is specified in c_args.')
|
||||
endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user