blob: 0ee44c1621fb0e3acc11d839dc410429dfc511fa [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001From 04603f52d793f964653e6a985944400fe4fa87ee Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 13 Jun 2018 17:50:20 -0700
4Subject: [PATCH] Make environment variables assignments to be weak
5
6So that OE can override them for cross builds
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10 Makefile | 6 +++---
11 1 file changed, 3 insertions(+), 3 deletions(-)
12
13diff --git a/Makefile b/Makefile
14index 1c80c09..884126c 100644
15--- a/Makefile
16+++ b/Makefile
17@@ -2,11 +2,11 @@ prefix = $(DESTDIR)/usr
18 bindir = ${prefix}/bin
19 mandir = ${prefix}/share/man
20
21-CC = gcc
22+CC ?= gcc
23 CFLAGS += -Wall -std=c99 -pedantic -O2
24
25-INSTALL = /usr/bin/install -c
26-STRIP = /usr/bin/strip -s
27+INSTALL ?= /usr/bin/install -c
28+STRIP ?= /usr/bin/strip -s
29
30 all: htpdate
31