Codebase list squeezelite / ce51398
Enable full hardening build flags Chris Boot 10 years ago
3 changed file(s) with 8 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
00 squeezelite (1.3.1-2) UNRELEASED; urgency=low
11
2 * Enable full hardening build flags:
3 - Add DEB_BUILD_MAINT_OPTIONS := hardening=+all
4 - Strip -fPIC from Makefile
25
36 -- Chris Boot <debian@bootc.net> Sun, 08 Dec 2013 09:42:57 +0000
47
33 used when building C source.
44 Author: Chris Boot <debian@bootc.net>
55 Forwarded: not-needed
6 Last-Update: 2013-11-24
6 Last-Update: 2013-12-08
77
88 --- a/Makefile
99 +++ b/Makefile
1111 # Cross compile support - create a Makefile which defines these three variables and then includes this Makefile...
1212 -CFLAGS ?= -Wall -fPIC -O2 $(OPTS)
1313 -LDFLAGS ?= -lasound -lpthread -lm -lrt
14 +CFLAGS += -Wall -fPIC $(OPTS)
14 +CFLAGS += -Wall $(OPTS)
1515 +LDFLAGS += -lasound -lpthread -lm -lrt
1616 EXECUTABLE ?= squeezelite
1717
77 # libraries
88 export OPTS=-DFFMPEG -DRESAMPLE -DVISEXPORT -DLINKALL
99
10 # Enable all hardening build flags
11 export DEB_BUILD_MAINT_OPTIONS := hardening=+all
12
1013 %:
1114 dh $@