ladybird/Ports/ed/patches/0001-Make-CC-and-friends-overridable-from-the-env.patch
2023-10-12 23:30:22 +02:00

30 lines
810 B
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: EWouters <6179932+EWouters@users.noreply.github.com>
Date: Fri, 1 Apr 2022 02:54:00 +0200
Subject: [PATCH] Make CC and friends overridable from the env
Co-Authored-By: roytam1 <roytam@gmail.com>
---
configure | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/configure b/configure
index 5692ef9daeb29c0b57a5c756b878e094682a1e14..281ea8040153218b26ca78faa472fa8b9c071c94 100755
--- a/configure
+++ b/configure
@@ -21,10 +21,10 @@ datarootdir='$(prefix)/share'
infodir='$(datarootdir)/info'
mandir='$(datarootdir)/man'
program_prefix=
-CC=gcc
-CPPFLAGS=
-CFLAGS='-Wall -W -O2'
-LDFLAGS=
+CC?=gcc
+CPPFLAGS?=
+CFLAGS?='-Wall -W -O2'
+LDFLAGS?=
MAKEINFO=makeinfo
# checking whether we are using GNU C.