From b1db3a230beb101a2b8d60a8b4bf48d11cf5ceb2 Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Tue, 17 May 2016 20:27:28 +0200 Subject: [PATCH] linux: allow to compile on ubuntu 16.04 --- configure.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.sh b/configure.sh index 0cb9a33..d098a24 100755 --- a/configure.sh +++ b/configure.sh @@ -8,5 +8,6 @@ extracflags="-march=native -D_REENTRANT -falign-functions=16 -falign-jumps=16 -falign-labels=16" -CUDA_CFLAGS="-O3 -lineno -Xcompiler -Wall" ./configure CXXFLAGS="-O3 $extracflags" --with-cuda=/usr/local/cuda --with-nvml=libnvidia-ml.so +CUDA_CFLAGS="-O3 -lineno -Xcompiler -Wall -D_FORCE_INLINES" \ + ./configure CXXFLAGS="-O3 $extracflags" --with-cuda=/usr/local/cuda --with-nvml=libnvidia-ml.so