summaryrefslogtreecommitdiffstats
path: root/build/linux/Makefile.in
diff options
context:
space:
mode:
authorDaniel M. Pelt <d.m.pelt@cwi.nl>2015-03-05 12:22:52 +0100
committerDaniel M. Pelt <d.m.pelt@cwi.nl>2015-03-05 12:22:52 +0100
commit8a1001f236cc0d31d24c250e6eb1f0cd1c419ebc (patch)
treed048428e92c959bb7e448a6007bf4ac7a03978c1 /build/linux/Makefile.in
parent20f329a7a38cd02586ef305d551d288ebcf39501 (diff)
downloadastra-8a1001f236cc0d31d24c250e6eb1f0cd1c419ebc.tar.gz
astra-8a1001f236cc0d31d24c250e6eb1f0cd1c419ebc.tar.bz2
astra-8a1001f236cc0d31d24c250e6eb1f0cd1c419ebc.tar.xz
astra-8a1001f236cc0d31d24c250e6eb1f0cd1c419ebc.zip
Force clang to use libstdc++ on OSX (fixes Cython compilation)
Diffstat (limited to 'build/linux/Makefile.in')
-rw-r--r--build/linux/Makefile.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/linux/Makefile.in b/build/linux/Makefile.in
index 92697b2..2d62a17 100644
--- a/build/linux/Makefile.in
+++ b/build/linux/Makefile.in
@@ -32,6 +32,8 @@ CXXFLAGS+=-g -O3 -Wall -Wshadow
LIBS+=-lpthread
LDFLAGS+=-g
+CPPFLAGS+=@CPPFLAGS_OS@
+
ifeq ($(cuda),yes)
CPPFLAGS += @CPPFLAGS_CUDA@ -DASTRA_CUDA
NVCCFLAGS = @NVCCFLAGS@ @CPPFLAGS_CUDA@ -I../.. -I../../include -DASTRA_CUDA