summaryrefslogtreecommitdiffstats
path: root/abs/core/mesa/llvm-39.patch
blob: 4cdbb7347e019297cde9f7120a7ccbc58a3edb92 (plain)
1
2
3
4
5
6
7
8
9
10
--- src/gallium/state_trackers/clover/llvm/invocation.cpp	2016-09-18 14:21:11.960782381 +0200
+++ src/gallium/state_trackers/clover/llvm/invocation.cpp	2016-09-18 14:22:59.743093983 +0200
@@ -208,6 +208,7 @@
       c.getInvocation().setLangDefaults(c.getLangOpts(), clang::IK_OpenCL,
 #if HAVE_LLVM >= 0x0309
                                         llvm::Triple(triple),
+					c.getPreprocessorOpts(),
 #endif
                                         clang::LangStandard::lang_opencl11);
       c.createDiagnostics(