File: ldflags.patch

package info (click to toggle)
argon2 0~20190702%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,036 kB
  • sloc: ansic: 3,368; makefile: 197; sh: 83; python: 17
file content (16 lines) | stat: -rw-r--r-- 489 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: testcase: Build with LDFLAGS
Forwarded: https://github.com/P-H-C/phc-winner-argon2/issues/363
Author: Bastian Germann <bage@debian.org>
Author: Sven Geuer <debmaint@g-e-u-e-r.de>
Last-Update: 2023-10-27
--- a/Makefile
+++ b/Makefile
@@ -215,7 +215,7 @@ dist:
 
 .PHONY: test
 test:           $(SRC) src/test.c
-		$(CC) $(CFLAGS)  -Wextra -Wno-type-limits $^ -o testcase
+		$(CC) $(CFLAGS) $(LDFLAGS) -Wextra -Wno-type-limits $^ -o testcase
 		@sh kats/test.sh
 		./testcase