Skip to content

Commit

Permalink
The SUFFIX is not necessary on OS X and '-lc++' is necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanocoding committed Dec 16, 2015
1 parent c825dea commit 9dc446b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,14 @@ AC_CONFIG_FILES([

dnl find out what version we are running
ARCH=`uname -m`
if [[ $ARCH == "x86_64" ]];
OS=`uname -s`
SUFFIX=""
if [[ $ARCH == "x86_64" && $OS != "Darwin" ]];
then
SUFFIX="64"
else
SUFFIX=""
elif [[ $OS == "Darwin" ]];
then
CXXFLAGS="$CXXFLAGS -lc++"
fi

dnl Setup CUDA paths
Expand Down

0 comments on commit 9dc446b

Please sign in to comment.