mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 08:12:37 +01:00
ircd: Add missing conditions around clang/opencl tgts.
This commit is contained in:
parent
0be4c243bb
commit
7fbb66f5a7
1 changed files with 4 additions and 0 deletions
|
@ -352,10 +352,14 @@ endif
|
|||
#
|
||||
|
||||
# LLVM PGO text to binary for -fprofile-use
|
||||
if CLANG
|
||||
default.profdata:
|
||||
-$(LLVM_PROFDATA) merge -output=default.profdata default.proftext
|
||||
endif
|
||||
|
||||
if CLANG
|
||||
if OPENCL
|
||||
gpt_gpu.o: gpt_gpu.cl
|
||||
$(CC) -std=CL1.1 $(AM_CPPFLAGS) $(CPPFLAGS) $(DEFS) -Xclang -finclude-default-header -include "ircd/config.h" -o $@ -c $^
|
||||
endif
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue