File: 10_add-hardening.patch

package info (click to toggle)
aesfix 1.0.1-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 148 kB
  • sloc: cpp: 365; makefile: 10
file content (20 lines) | stat: -rw-r--r-- 523 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: add GCC hardening.
Author: Joao Eriberto Mota Filho <eriberto@debian.org>
Last-Update: 2015-02-23
Index: aesfix-1.0.1/Makefile
===================================================================
--- aesfix-1.0.1.orig/Makefile
+++ aesfix-1.0.1/Makefile
@@ -1,10 +1,10 @@
-CXXFLAGS= -Wall -O4 -funroll-loops
+CXXFLAGS += -Wall -O4 -funroll-loops
 OBJS= aesfix.o errvect.o
 
 all: aesfix
 
 aesfix: $(OBJS)
-	$(CXX) -o aesfix $(OBJS)
+	$(CXX) $(LDFLAGS) -o aesfix $(OBJS)
 
 clean:
 	@rm -f aesfix *~ \#* $(OBJS)