Skip to content

Commit 40d22eb

Browse files
committed
fix sample makefile
1 parent a71a4e3 commit 40d22eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sample/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ CC = $(PREFIX)-gcc
1818
CXX = $(PREFIX)-g++
1919
READELF = $(PREFIX)-readelf
2020
OBJDUMP = $(PREFIX)-objdump
21-
CFLAGS = -O2 -Wall $(DEFINES) $(INCDIR) -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -ffunction-sections
21+
CFLAGS = -Wl,-q $(DEFINES) $(INCDIR) -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -ffunction-sections
2222
CXXFLAGS = $(CFLAGS) -fno-unwind-tables -fno-rtti -fno-exceptions -Wno-deprecated -Wno-comment -Wno-sequence-point
2323
ASFLAGS = $(CFLAGS) --gc-sections
2424

0 commit comments

Comments
 (0)