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

Simplify CFLAGS/CXXFLAGS setup

parent 3d8c8378
No related branches found
No related tags found
1 merge request!42Staging
...@@ -270,9 +270,9 @@ fi ...@@ -270,9 +270,9 @@ fi
if [ "${OSNAME}" == "linux" ]; then if [ "${OSNAME}" == "linux" ]; then
# Temporary hack to get building done right with gcc-5 compilers # Temporary hack to get building done right with gcc-5 compilers
if [ -z "${CFLAGS}" ]; then if [ -z "${CFLAGS}" ]; then
CFLAGS="-D_GLIBCXX_USE_CXX11_ABI=0" CFLAGS="-D_GLIBCXX_USE_CXX11_ABI=0 -pthread"
else else
CFLAGS="${CFLAGS} -D_GLIBCXX_USE_CXX11_ABI=0" CFLAGS="${CFLAGS} -D_GLIBCXX_USE_CXX11_ABI=0 -pthread"
fi fi
else else
CFLAGS="" CFLAGS=""
...@@ -310,10 +310,3 @@ if [ -z "${CI_BUILD_TAG}" ]; then ...@@ -310,10 +310,3 @@ if [ -z "${CI_BUILD_TAG}" ]; then
else else
log_info "Building tag, not setting BOB_DOCUMENTATION_SERVER" log_info "Building tag, not setting BOB_DOCUMENTATION_SERVER"
fi fi
# Patches conda environment
log_info "Patching build flags to provide for conda..."
CFLAGS="${CFLAGS} -pthread"
export_env CFLAGS
CXXFLAGS="${CXXFLAGS} -pthread"
export_env CXXFLAGS
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