| 1 |
Description: hardening |
| 2 |
added some code to use the hardening makeflags |
| 3 |
. |
| 4 |
rcurl (1.95.3-1) unstable; urgency=low |
| 5 |
. |
| 6 |
Author: Ivo Maintz <[email protected]> |
| 7 |
|
| 8 |
--- |
| 9 |
Last-Update: <2013-02-15> |
| 10 |
|
| 11 |
--- a/src/Makevars.in |
| 12 |
+++ b/src/Makevars.in |
| 13 |
@@ -10,8 +10,8 @@ CURL_LIBS=@CURL_LIBS@ |
| 14 |
# -DRCURL_DEBUG_MEMORY |
| 15 |
DEFINES=@DEFINES@ |
| 16 |
|
| 17 |
-PKG_CPPFLAGS=$(CURL_CFLAGS) $(DEFINES) $(shell xml2-config --cflags) |
| 18 |
-PKG_LIBS=$(CURL_LIBS) $(shell xml2-config --libs) |
| 19 |
+PKG_CPPFLAGS=$(CURL_CFLAGS) $(DEFINES) $(shell xml2-config --cflags) $(shell dpkg-buildflags --get CPPFLAGS) |
| 20 |
+PKG_LIBS=$(CURL_LIBS) $(shell xml2-config --libs) -Wl,-z,relro |
| 21 |
|
| 22 |
# enums.o: enums.c CurlOptEnums.h |
| 23 |
|