Lines 59-64
Link Here
|
59 |
[[ -x /sbin/paxctl ]] && \ |
59 |
[[ -x /sbin/paxctl ]] && \ |
60 |
sed -i 's/^VL_LDFLAGS=$/VL_LDFLAGS=-Wl,-z,execheap/' \ |
60 |
sed -i 's/^VL_LDFLAGS=$/VL_LDFLAGS=-Wl,-z,execheap/' \ |
61 |
Makefile.target |
61 |
Makefile.target |
|
|
62 |
# Append CFLAGS while linking |
63 |
sed -i 's/$(LDFLAGS)/$(QEMU_CFLAGS) $(CFLAGS) $(LDFLAGS)/' rules.mak |
62 |
# avoid strip |
64 |
# avoid strip |
63 |
sed -i 's/$(INSTALL) -m 755 -s/$(INSTALL) -m 755/' \ |
65 |
sed -i 's/$(INSTALL) -m 755 -s/$(INSTALL) -m 755/' \ |
64 |
Makefile Makefile.target */Makefile |
66 |
Makefile Makefile.target */Makefile |
Lines 116-122
Link Here
|
116 |
|
118 |
|
117 |
target_list="${softmmu_targets} ${user_targets}" |
119 |
target_list="${softmmu_targets} ${user_targets}" |
118 |
|
120 |
|
119 |
filter-flags -fpie -fstack-protector |
121 |
filter-flags -fPIE |
120 |
|
122 |
|
121 |
./configure ${conf_opts} \ |
123 |
./configure ${conf_opts} \ |
122 |
--audio-drv-list="$audio_opts" \ |
124 |
--audio-drv-list="$audio_opts" \ |