File: fix-makefile

package info (click to toggle)
libscrypt 1.21-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, stretch
  • size: 204 kB
  • ctags: 106
  • sloc: ansic: 1,155; makefile: 115
file content (21 lines) | stat: -rw-r--r-- 781 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Fix makefile flag handling
Author: Tristan Seligmann <mithrandi@debian.org>
Origin: vendor
Forwarded: no
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: libscrypt/Makefile
===================================================================
--- libscrypt.orig/Makefile	2014-12-14 02:38:36.667099740 +0200
+++ libscrypt/Makefile	2014-12-14 05:53:34.488194255 +0200
@@ -5,8 +5,8 @@
 INSTALL_DATA ?= install
 
 CC?=gcc
-CFLAGS?=-O2 -Wall -g -D_FORTIFY_SOURCE=2 -fstack-protector -fPIC
-LDFLAGS?=-Wl,-z,now -Wl,-z,relro -Wl,-soname,libscrypt.so.0 -Wl,--version-script=libscrypt.version
+CFLAGS += -Wall -fPIC
+LDFLAGS += -Wl,-z,now -Wl,-soname,libscrypt.so.0 -Wl,--version-script=libscrypt.version
 CFLAGS_EXTRA?=-Wl,-rpath=.
 
 all: reference