Skip to content

Commit 7242dc5

Browse files
occheungsbourdeauducq
authored andcommitted
libunwind: fix warning
1 parent 71b74f8 commit 7242dc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

misoc/software/libunwind/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ COMMONFLAGS += -integrated-as -I. \
66
-I$(MISOC_DIRECTORY)/software/unwinder/include/ \
77
-I$(LIBUNWIND_DIRECTORY) \
88
-D__ELF__ -D__linux__ \
9-
-D_LIBUNWIND_NO_HEAP -D_LIBUNWIND_BUILD_ZERO_COST_APIS \
10-
-DNDEBUG
9+
-D_LIBUNWIND_NO_HEAP -DNDEBUG
1110

1211
CFLAGS += -funwind-tables
1312
CXXFLAGS += -fno-exceptions -funwind-tables
1413

1514
ifeq ($(CPU),or1k)
1615
all:: libunwind-bare.a libunwind-or1k-elf.a
16+
COMMONFLAGS += -D_LIBUNWIND_BUILD_ZERO_COST_APIS
1717
endif
1818
ifeq ($(CPU),vexriscv)
1919
all:: libunwind-bare.a libunwind-vexriscv-elf.a

0 commit comments

Comments
 (0)