~lattis/muon#129: 
nasm erroneously gets -pthread added breaking the build

When using

thread_dep = dependency('threads')
if thread_dep.found()
    deps += thread_dep
    // ....
endif

in a project using the built-in NASM support, -pthread gets added as a flag not only for C compiler and linker, but also for NASM invocations. As an assembler, NASM knows nothing of pthread and instead parses it as its -pFILE option for pre-includinga thread file. Since no such file exists this breaks the build

(this is kinda the reverse of #99; instead of CCAS missing C flags, NASM gets too many C flags eventhough)

Status
REPORTED
Submitter
~oneric
Assigned to
No-one
Submitted
6 months ago
Updated
6 months ago
Labels
No labels applied.