mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
[meson] -fno-lto added to flags
clang-14 gives file not recognized: File format not recognized.
This commit is contained in:
parent
9cab4ceb94
commit
8764def801
@ -143,7 +143,7 @@ conf_data.set('HAVE_SYS_TIME_H', 1)
|
||||
compiler = meson.get_compiler('c')
|
||||
|
||||
if conf_data.get('CONFIG_ECMASCRIPT')
|
||||
extracflags = ['-xc++', '-fpermissive', '-Wno-sign-compare', '-std=gnu++17']
|
||||
extracflags = ['-xc++', '-fpermissive', '-Wno-sign-compare', '-std=gnu++17', '-fno-lto']
|
||||
else
|
||||
extracflags = ['-Wc++-compat']
|
||||
endif
|
||||
|
@ -54,5 +54,6 @@ elinks = executable(
|
||||
include_directories: incs,
|
||||
dependencies: deps,
|
||||
c_args: extra_args,
|
||||
cpp_args: extra_args,
|
||||
install: true
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user