mirror of
https://github.com/RGBCube/serenity
synced 2025-07-30 08:37:34 +00:00
Ports: Update ed's patches to use git patches
This commit is contained in:
parent
25dc066af6
commit
f5a4d529c2
9 changed files with 133 additions and 51 deletions
|
@ -0,0 +1,32 @@
|
|||
From d29259d2ea80767820f69b9b58f9377166440938 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 1/4] 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 3531bcd..a225c14 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?=
|
||||
|
||||
# checking whether we are using GNU C.
|
||||
/bin/sh -c "${CC} --version" > /dev/null 2>&1 || { CC=cc ; CFLAGS=-O2 ; }
|
||||
--
|
||||
2.36.1
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue