File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ matrix:
24
24
packages :
25
25
- clang-4.0
26
26
env :
27
- - MATRIX_EVAL="CC=clang-4.0"
27
+ - MATRIX_EVAL="CC=clang-4.0; export CFLAGS=-fsanitize=undefined "
28
28
29
29
- os : linux
30
30
addons :
@@ -54,7 +54,7 @@ matrix:
54
54
packages :
55
55
- gcc-7
56
56
env :
57
- - MATRIX_EVAL="CC=gcc-7"
57
+ - MATRIX_EVAL="CC=gcc-7; export CFLAGS=-fsanitize=undefined "
58
58
59
59
- os : linux
60
60
addons :
@@ -65,7 +65,7 @@ matrix:
65
65
- gcc-7-i686-linux-gnu
66
66
- gcc-7-multilib-i686-linux-gnu
67
67
env :
68
- - MATRIX_EVAL="CC=i686-linux-gnu-gcc-7"
68
+ - MATRIX_EVAL="CC=i686-linux-gnu-gcc-7; export LDFLAGS=-static "
69
69
70
70
before_install :
71
71
- eval "${MATRIX_EVAL}"
Original file line number Diff line number Diff line change @@ -13,11 +13,10 @@ test: all
13
13
./build/bench -s 10:12345
14
14
./build/test
15
15
16
- CFLAGS = \
17
- -std=gnu11 -g -O2 \
18
- -Wall -Wextra -Wshadow -Wpointer-arith -Wcast-qual -Wconversion -Wc++-compat \
19
- -DTLSF_ENABLE_ASSERT -DTLSF_ENABLE_CHECK
20
- LDFLAGS = -lrt -static
16
+ CFLAGS += \
17
+ -std=gnu11 -g -O2 \
18
+ -Wall -Wextra -Wshadow -Wpointer-arith -Wcast-qual -Wconversion -Wc++-compat \
19
+ -DTLSF_ENABLE_ASSERT -DTLSF_ENABLE_CHECK
21
20
22
21
OBJS = tlsf.o
23
22
OBJS := $(addprefix $(OUT ) /,$(OBJS ) )
You can’t perform that action at this time.
0 commit comments