Skip to content
Snippets Groups Projects
Commit d4f03f74 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Remove all settings for -pthread since bob.extension#34 is now fixed

parent 94729e48
No related branches found
No related tags found
No related merge requests found
......@@ -216,21 +216,13 @@ PREFIX=${CI_PROJECT_DIR}/${VIRTUALENV_PATH}
if [ "${OSNAME}" == "linux" ]; then
# Temporary hack to get building done right with gcc-5 compilers
if [ -z "${CFLAGS}" ]; then
CFLAGS="-D_GLIBCXX_USE_CXX11_ABI=0 -pthread"
CFLAGS="-D_GLIBCXX_USE_CXX11_ABI=0"
else
if [[ "${CFLAGS}" != *-pthread* ]]; then
CFLAGS="${CFLAGS} -pthread"
fi
if [[ "${CFLAGS}" != *-D_GLIBCXX_USE_CXX11_ABI=0* ]]; then
CFLAGS="${CFLAGS} -D_GLIBCXX_USE_CXX11_ABI=0"
fi
fi
else #macosx
if [ -z "${CFLAGS}" ]; then
CFLAGS="-pthread"
elif [[ "${CFLAGS}" != *-pthread* ]]; then
CFLAGS="${CFLAGS} -pthread"
fi
if [ "${CFLAGS}" == *-DBZ_DEBUG* ]; then
# -DBZ_DEBUG does not work well with clang
CFLAGS=`echo ${CFLAGS} | sed -e s/\s*-DBZ_DEBUG//g`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment