We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a71a4e3 commit 40d22ebCopy full SHA for 40d22eb
sample/Makefile
@@ -18,7 +18,7 @@ CC = $(PREFIX)-gcc
18
CXX = $(PREFIX)-g++
19
READELF = $(PREFIX)-readelf
20
OBJDUMP = $(PREFIX)-objdump
21
-CFLAGS = -O2 -Wall $(DEFINES) $(INCDIR) -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -ffunction-sections
+CFLAGS = -Wl,-q $(DEFINES) $(INCDIR) -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -ffunction-sections
22
CXXFLAGS = $(CFLAGS) -fno-unwind-tables -fno-rtti -fno-exceptions -Wno-deprecated -Wno-comment -Wno-sequence-point
23
ASFLAGS = $(CFLAGS) --gc-sections
24
0 commit comments