File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -59,14 +59,14 @@ DYNAMIC_OPTIONS =
5959
6060CC ?= cc
6161
62- DWARF := $(shell $(CC ) -Wall -Wextra -O0 -g -o /tmp/asflags_$${$$} src/flags.c; \
62+ DWARF := $(shell $(CC ) -Wall -Wextra -O2 -o /tmp/asflags_$${$$} src/flags.c; \
6363 /tmp/asflags_$${$$}; rm /tmp/asflags_$${$$})
64- CFLAGS += -std=gnu11 $(DWARF ) -O0 -g -fno-common -fno-strict-aliasing \
64+ CFLAGS += -std=gnu11 $(DWARF ) -O2 -fno-common -fno-strict-aliasing \
6565 -Wall -Wextra -Wconversion -Wsign-conversion -Wmissing-declarations \
6666 -Wno-implicit-fallthrough -Wno-unused-result -Wno-typedef-redefinition \
6767 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DMARCH_$(ARCH ) \
6868 -DTOOL_VERSION=\"$(VERSION ) \"
69- CXXFLAGS := -std=c++14 $(DWARF ) -O0 -g -fno-common -fno-strict-aliasing \
69+ CXXFLAGS := -std=c++14 $(DWARF ) -O2 -fno-common -fno-strict-aliasing \
7070 -Wall -Wextra -Wconversion -Wsign-conversion -Wmissing-declarations \
7171 -Wno-implicit-fallthrough -Wno-unused-result \
7272 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DMARCH_$(ARCH ) \
You can’t perform that action at this time.
0 commit comments