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 75d244a commit e8d8218Copy full SHA for e8d8218
Makefile
@@ -1,11 +1,12 @@
1
DEBUG_FLAGS = -DDEBUG -O0 -g3
2
-RELEASE_FLAGS = -O2 -g3
+RELEASE_FLAGS = -O3 -g3
3
+COMMON_FLAGS = -fno-strict-overflow -fno-strict-aliasing -fno-delete-null-pointer-checks -fno-trapping-math -fno-math-errno -fno-signed-zeros -fno-exceptions
4
5
all: testbed.out gdb-module.so
6
.PHONY: all
7
8
gdb-module.so: gdb-module.c emacs-module.h gdbwire.c
- $(CC) -Wall -Wextra -Wno-unused-parameter $(RELEASE_FLAGS) -fPIC -shared $< -o $@
9
+ $(CC) -Wall -Wextra -Wno-unused-parameter $(RELEASE_FLAGS) $(COMMON_FLAGS) -fPIC -shared $< -o $@
10
11
testbed.out: testbed.c
12
$(CC) $(DEBUG_FLAGS) $< -lpthread -o $@
0 commit comments