0
0
Fork 0
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:
Jason Volk 2021-10-22 15:06:57 -07:00
parent 0be4c243bb
commit 7fbb66f5a7

View file

@ -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