summarylogtreecommitdiffstats
path: root/Makefile.config
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.config')
-rw-r--r--Makefile.config3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.config b/Makefile.config
index 0cdacbf20d88..724518332996 100644
--- a/Makefile.config
+++ b/Makefile.config
@@ -62,6 +62,9 @@ WITH_PYTHON_LAYER := 1
INCLUDE_DIRS := $(PYTHON_INCLUDE) /usr/include
LIBRARY_DIRS := $(PYTHON_LIB) /usr/lib
+# Fix NVCC __float128 (thanks @mjal)
+NVCCFLAGS=-D__STRICT_ANSI__
+
BUILD_DIR := build
DISTRIBUTE_DIR := distribute