Skip to content

Commit 24cc86a

Browse files
authored
Merge pull request #4724 from smowton/smowton/admin/move-libcxxdebug-flag
Move LIBCXX_DEBUG flag from Travis to AWS codebuild
2 parents 53b5c0b + 44458f6 commit 24cc86a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ jobs:
107107
# env: COMPILER=g++-5 SAN_FLAGS="-fsanitize=undefined -fno-sanitize-recover -fno-omit-frame-pointer"
108108
env:
109109
- COMPILER="ccache /usr/bin/g++-5"
110-
- EXTRA_CXXFLAGS="-D_GLIBCXX_DEBUG"
111110
- WITH_MEMORY_ANALYZER=1
112111

113112
# OS X using clang++

buildspec.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ env:
44
variables:
55
# CodeBuild console doesn't display color codes correctly
66
TESTPL_COLOR_OUTPUT: 0
7+
CP_EXTRA_CXXFLAGS: -D_GLIBCXX_DEBUG
78

89
phases:
910
install:

src/common

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,8 @@ first_target: all
210210

211211
HOSTCXX ?= $(CXX)
212212

213-
CP_CFLAGS += $(CFLAGS) $(INCLUDES)
214-
CP_CXXFLAGS += $(CXXFLAGS) $(INCLUDES)
213+
CP_CFLAGS += $(CFLAGS) $(CP_EXTRA_CFLAGS) $(INCLUDES)
214+
CP_CXXFLAGS += $(CXXFLAGS) $(CP_EXTRA_CXXFLAGS) $(INCLUDES)
215215

216216
OBJ += $(patsubst %.cpp, %$(OBJEXT), $(filter %.cpp, $(SRC)))
217217
OBJ += $(patsubst %.cc, %$(OBJEXT), $(filter %.cc, $(SRC)))

0 commit comments

Comments
 (0)