Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | From 328799d0cd5c523ad7a814fefec16d8a84aa8010 Mon Sep 17 00:00:00 2001 |
| 2 | From: Paul Eggleton <paul.eggleton@linux.intel.com> |
| 3 | Date: Tue, 16 Apr 2013 10:53:55 +0000 |
| 4 | Subject: [PATCH] Hardcode LIBS instead of using a script to determine |
| 5 | available libs |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 6 | |
| 7 | We want to avoid this dynamic detection so we have a deterministic |
| 8 | build. |
| 9 | |
| 10 | Upstream-Status: Inappropriate [config] |
| 11 | |
| 12 | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> |
| 13 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 14 | --- |
| 15 | Makefile | 2 +- |
| 16 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 17 | |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 18 | diff --git a/Makefile b/Makefile |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 19 | index 9e4f35f..3a5535d 100644 |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 20 | --- a/Makefile |
| 21 | +++ b/Makefile |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 22 | @@ -8,7 +8,7 @@ CFLAGS = -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 \ |
| 23 | -D_FORTIFY_SOURCE=2 \ |
| 24 | #-pedantic -Wconversion |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 25 | |
| 26 | -LIBS = `./vsf_findlibs.sh` |
| 27 | +LIBS = -lssl -lcrypto -lnsl -lresolv |
| 28 | LINK = -Wl,-s |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 29 | LDFLAGS = -fPIE -pie -Wl,-z,relro -Wl,-z,now |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 30 | |