mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
bump version to 2022.02.9
add miyoo_defconfig
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
From 4ba90fedd553c3b06c925fb6ff5245a5dcabace9 Mon Sep 17 00:00:00 2001
|
||||
From: Eddy Vervest <eddy@vervest.org>
|
||||
Date: Sat, 29 Jan 2022 10:58:13 +0100
|
||||
Subject: [PATCH] Allow SSL_LIBS to be configured from environment
|
||||
|
||||
[Retrieved from:
|
||||
https://github.com/twekkel/htpdate/commit/4ba90fedd553c3b06c925fb6ff5245a5dcabace9]
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
Makefile | 7 ++++---
|
||||
1 file changed, 4 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 4796efa..cf077e6 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -2,8 +2,9 @@ prefix = $(DESTDIR)/usr
|
||||
bindir = ${prefix}/sbin
|
||||
mandir = ${prefix}/share/man
|
||||
|
||||
-CC ?= gcc
|
||||
-CFLAGS += -Wall -std=c11 -pedantic -O2
|
||||
+CC ?= gcc
|
||||
+CFLAGS += -Wall -std=c11 -pedantic -O2
|
||||
+SSL_LIBS ?= -lssl
|
||||
|
||||
INSTALL ?= install -c
|
||||
STRIP ?= strip -s
|
||||
@@ -14,7 +15,7 @@ htpdate: htpdate.c
|
||||
$(CC) $(CFLAGS) -o htpdate htpdate.c
|
||||
|
||||
https: htpdate.c
|
||||
- $(CC) $(CFLAGS) -DENABLE_HTTPS -o htpdate htpdate.c -lssl
|
||||
+ $(CC) $(CFLAGS) -DENABLE_HTTPS -o htpdate htpdate.c $(SSL_LIBS)
|
||||
|
||||
install: all
|
||||
$(STRIP) htpdate
|
||||
Reference in New Issue
Block a user