Skip to content

Commit 9946d3f

Browse files
committed
meson: Permit builds with any D compiler
1 parent b3e8718 commit 9946d3f

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

meson.build

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,8 @@ compiler = meson.get_compiler('d')
1010

1111
message('Using compiler ' + compiler.get_id())
1212

13-
if compiler.get_id() == 'gcc'
14-
error('Tilix can not be compiled with GDC at time, since the standard library version of all GDC versions is currently (2016) too old. Sorry.')
15-
endif
16-
17-
if compiler.get_id() == 'llvm'
18-
extra_args = ['-vcolumns','-d-version=StdLoggerDisableTrace']
13+
if compiler.get_id() == 'llvm'
14+
extra_args = ['-vcolumns']
1915
d_link_args = []
2016
else
2117
extra_args = []
@@ -119,6 +115,7 @@ executable('tilix',
119115
xlib_dep,
120116
libunwind_dep],
121117
d_args: extra_args,
118+
d_module_versions: ['StdLoggerDisableTrace'],
122119
link_args: d_link_args,
123120
install : true
124121
)

0 commit comments

Comments
 (0)