diff options
author | Daniel M. Pelt <d.m.pelt@cwi.nl> | 2015-03-05 12:22:52 +0100 |
---|---|---|
committer | Daniel M. Pelt <d.m.pelt@cwi.nl> | 2015-03-05 12:22:52 +0100 |
commit | 8a1001f236cc0d31d24c250e6eb1f0cd1c419ebc (patch) | |
tree | d048428e92c959bb7e448a6007bf4ac7a03978c1 /build/linux/configure.ac | |
parent | 20f329a7a38cd02586ef305d551d288ebcf39501 (diff) | |
download | astra-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/configure.ac')
-rw-r--r-- | build/linux/configure.ac | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/build/linux/configure.ac b/build/linux/configure.ac index b97a7a0..129079c 100644 --- a/build/linux/configure.ac +++ b/build/linux/configure.ac @@ -208,6 +208,19 @@ fi AC_SUBST(HAVEPYTHON) +#OS specific setup +AC_CANONICAL_HOST +case $host_os in + darwin* ) + CPPFLAGS_OS="-stdlib=libstdc++ -mmacosx-version-min=10.6" + ;; + *) + CPPFLAGS_OS="" + ;; +esac + +AC_SUBST(CPPFLAGS_OS) + # TODO: |