summaryrefslogtreecommitdiff
path: root/configs/linux-llvm
diff options
context:
space:
mode:
Diffstat (limited to 'configs/linux-llvm')
-rw-r--r--configs/linux-llvm3
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/linux-llvm b/configs/linux-llvm
index 359bee28250..54d82b5376c 100644
--- a/configs/linux-llvm
+++ b/configs/linux-llvm
@@ -42,3 +42,6 @@ endif
LD = g++
GL_LIB_DEPS = $(LLVM_LDFLAGS) $(LLVM_LIBS) $(EXTRA_LIB_PATH) -lX11 -lXext -lm -lpthread -lstdc++
+
+# to allow the NV drivers to compile
+LIBDRM_CFLAGS = $(shell pkg-config --cflags libdrm)