File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ LIBBPF_SRC := $(abspath ../src/cc/libbpf/src)
99LIBBPF_OBJ := $(abspath $(OUTPUT ) /libbpf.a)
1010LIBBLAZESYM_SRC := $(abspath blazesym/target/release/libblazesym.a)
1111INCLUDES := -I$(OUTPUT ) -I../src/cc/libbpf/include/uapi
12- CFLAGS := -g -O2 -Wall -Wmissing-field-initializers -Werror
13- BPFCFLAGS := -g -O2 -Wall
12+ CFLAGS := -g -O2 -Wall -Wmissing-field-initializers -Werror -Werror=undef
13+ BPFCFLAGS := -g -O2 -Wall -Werror=undef
1414INSTALL ?= install
1515prefix ?= /usr/local
1616bindir := $(prefix ) /bin
Original file line number Diff line number Diff line change @@ -685,7 +685,7 @@ pid_t fork_sync_exec(const char *command, int fd)
685685 return pid ;
686686}
687687
688- #if USE_BLAZESYM
688+ #ifdef USE_BLAZESYM
689689void print_stack_frame_by_blazesym (size_t frame , uint64_t addr , const blazesym_csym * sym )
690690{
691691 if (!sym )
You can’t perform that action at this time.
0 commit comments