diff options
author | ponce <matteo.bernardini@gmail.com> | 2012-04-22 20:36:04 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-08-21 15:36:49 -0500 |
commit | c5b9b9079e28126070d7993adb57abf6de01a4d0 (patch) | |
tree | 12bfc868a039191a87c84f0e33a52c041fe9b5d4 /libraries/openbabel | |
parent | 072a450e39ce3aebf52f5ac345cdaabeb30967ea (diff) |
libraries/openbabel: Fix build with gcc-4.7.x.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/openbabel')
-rw-r--r-- | libraries/openbabel/openbabel.SlackBuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/openbabel/openbabel.SlackBuild b/libraries/openbabel/openbabel.SlackBuild index 638623cdb0ec..10b9f4d19f76 100644 --- a/libraries/openbabel/openbabel.SlackBuild +++ b/libraries/openbabel/openbabel.SlackBuild @@ -26,7 +26,7 @@ PRGNAM=openbabel VERSION=2.3.0 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -71,7 +71,7 @@ mkdir -p build cd build cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -fpermissive" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DMAN_INSTALL_DIR=/usr/man \ |