projects
/
privoxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
listen_loop(): When shutting down gracefully, close listening ports
[privoxy.git]
/
windows
/
MYconfigure
diff --git
a/windows/MYconfigure
b/windows/MYconfigure
index
49273e1
..
e0b993c
100755
(executable)
--- a/
windows/MYconfigure
+++ b/
windows/MYconfigure
@@
-76,6
+76,10
@@
LDFLAGS="${LDFLAGS} -fstack-protector-strong"
LDFLAGS="${LDFLAGS} -Wl,--nxcompat"
# https://en.wikipedia.org/wiki/Data_Execution_Prevention
# Enable DEP with -Wl,--nxcompat
LDFLAGS="${LDFLAGS} -Wl,--nxcompat"
# https://en.wikipedia.org/wiki/Data_Execution_Prevention
# Enable DEP with -Wl,--nxcompat
+# also called NX or nxcompat for "no execute" see: https://en.wikipedia.org/wiki/NX_bit
+# $ peflags -v privoxy.exe
+# privoxy.exe: coff(0x0106[+executable_image,+line_nums_stripped,+32bit_machine]) pe(0x0140[+dynamicbase,+nxcompat])
+
LDFLAGS="${LDFLAGS} -Wl,--dynamicbase,--export-all-symbols"
# https://en.wikipedia.org/wiki/Address_space_layout_randomization
LDFLAGS="${LDFLAGS} -Wl,--dynamicbase,--export-all-symbols"
# https://en.wikipedia.org/wiki/Address_space_layout_randomization
@@
-133,8
+137,8
@@
LDFLAGS="${LDFLAGS} -L${lib}"
# mbedtls
# Get the 2.16.x mbedtls library from https://github.com/ARMmbed/mbedtls/tags
# mbedtls
# Get the 2.16.x mbedtls library from https://github.com/ARMmbed/mbedtls/tags
-inc="/source/mbedtls-2.16.
9
/include"
-lib="/source/mbedtls-2.16.
9
/library"
+inc="/source/mbedtls-2.16.
10
/include"
+lib="/source/mbedtls-2.16.
10
/library"
MITMOPT="--with-mbedtls"
CPPFLAGS="${CPPFLAGS} -I${inc}"
LDFLAGS="${LDFLAGS} -L${lib}"
MITMOPT="--with-mbedtls"
CPPFLAGS="${CPPFLAGS} -I${inc}"
LDFLAGS="${LDFLAGS} -L${lib}"