Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 1 | From 04603f52d793f964653e6a985944400fe4fa87ee Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Wed, 13 Jun 2018 17:50:20 -0700 |
| 4 | Subject: [PATCH] Make environment variables assignments to be weak |
| 5 | |
| 6 | So that OE can override them for cross builds |
| 7 | |
| 8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 9 | --- |
| 10 | Makefile | 6 +++--- |
| 11 | 1 file changed, 3 insertions(+), 3 deletions(-) |
| 12 | |
| 13 | diff --git a/Makefile b/Makefile |
| 14 | index 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 | |