Commit fc50d2f 1 parent 025eb94 commit fc50d2f Copy full SHA for fc50d2f
File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -28,16 +28,18 @@ endif
28
28
29
29
LIBDIR ?= /usr/lib64
30
30
extra_cflags := -g -O2 -I../include/ -fPIC -Wall -Wextra -Werror \
31
- -DBACKEND_VMM_$(BACKEND_VMM ) \
32
- -DSHMOVERRIDE_LIB_PATH=\"$(LIBDIR ) /qubes-gui-daemon/shmoverride.so\" \
33
- -I../include -fvisibility=hidden -pthread
31
+ -Wp,-DBACKEND_VMM_$(BACKEND_VMM ) \
32
+ -Wp,-DSHMOVERRIDE_LIB_PATH=\"$(LIBDIR ) /qubes-gui-daemon/shmoverride.so\" \
33
+ -I../include -fvisibility=hidden -pthread \
34
+ -Wp,-D_GNU_SOURCE=1 -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-all \
35
+ -fcf-protection -fstack-clash-protection -Wl,-Bsymbolic
34
36
CC =gcc
35
37
36
38
all : shmoverride.so X-wrapper-qubes
37
39
38
40
shmoverride.so : shmoverride.o ./list.o
39
41
$(CC ) $(CFLAGS ) $(extra_cflags ) -shared -o shmoverride.so \
40
- shmoverride.o list.o -ldl -lxenctrl -lxengnttab -Wl,-Bsymbolic
42
+ shmoverride.o list.o -ldl -lxenctrl -lxengnttab
41
43
42
44
vpath % .c ../common
43
45
You can’t perform that action at this time.
0 commit comments