| 1 |
Description: add GCC hardening and extra recommended flags to Makefile. |
| 2 |
Author: Joao Eriberto Mota Filho <[email protected]> |
| 3 |
Last-Update: 2014-09-12 |
| 4 |
Index: disktype-9/Makefile |
| 5 |
=================================================================== |
| 6 |
--- disktype-9.orig/Makefile |
| 7 |
+++ disktype-9/Makefile |
| 8 |
@@ -13,9 +13,9 @@ OBJS = main.o lib.o \ |
| 9 |
|
| 10 |
TARGET = disktype |
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
+CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 |
| 16 |
+CFLAGS += -Wall |
| 17 |
+LDFLAGS += |
| 18 |
LIBS = |
| 19 |
|
| 20 |
ifeq ($(NOSYS),) |