| 1 | Description: Change makefile to build with hardening flags. |
| 2 | This patch changes the makefile with hardening flags. It fixes lintian |
| 3 | tags hardening-no-relro and hardening-no-fortify-functions. |
| 4 | Author: Martin Steigerwald <[email protected]> |
| 5 | |
| 6 | --- a/Makefile |
| 7 | +++ b/Makefile |
| 8 | @@ -10,7 +10,7 @@ |
| 9 | DIR2= /test/dir2 |
| 10 | |
| 11 | COBJS= fs_mark.o lib_timing.o |
| 12 | -CFLAGS= -O2 -Wall -D_FILE_OFFSET_BITS=64 |
| 13 | +CFLAGS+= -O2 -Wall -D_FILE_OFFSET_BITS=64 |
| 14 | |
| 15 | BIN=$(DESTDIR)/usr/bin |
| 16 |