File: Makefile

package info (click to toggle)
disktype 9-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 364 kB
  • ctags: 276
  • sloc: ansic: 4,515; makefile: 118
file content (20 lines) | stat: -rw-r--r-- 569 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: add GCC hardening and extra recommended flags to Makefile.
Author: Joao Eriberto Mota Filho <eriberto@debian.org>
Last-Update: 2014-09-12
Index: disktype-9/Makefile
===================================================================
--- disktype-9.orig/Makefile
+++ disktype-9/Makefile
@@ -13,9 +13,9 @@ OBJS   = main.o lib.o \
 
 TARGET = disktype
 
-CPPFLAGS = -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-CFLAGS   = -Wall
-LDFLAGS  =
+CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
+CFLAGS   += -Wall
+LDFLAGS  +=
 LIBS     =
 
 ifeq ($(NOSYS),)