mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:07:45 +00:00
Ports: Added The One True AWK
This commit is contained in:
parent
8a46794ff8
commit
45d73f8ef9
5 changed files with 53 additions and 0 deletions
15
Ports/awk/patches/build.patch
Normal file
15
Ports/awk/patches/build.patch
Normal file
|
@ -0,0 +1,15 @@
|
|||
diff --git a/makefile b/makefile
|
||||
index 9ceaaad..6b9dff5 100644
|
||||
--- a/makefile
|
||||
+++ b/makefile
|
||||
@@ -31,8 +31,8 @@ CFLAGS = -O2
|
||||
#CC = gcc -Wall -g -Wwrite-strings
|
||||
#CC = gcc -O4 -Wall -pedantic -fno-strict-aliasing
|
||||
#CC = gcc -fprofile-arcs -ftest-coverage # then gcov f1.c; cat f1.c.gcov
|
||||
-HOSTCC = gcc -g -Wall -pedantic -Wcast-qual
|
||||
-CC = $(HOSTCC) # change this is cross-compiling.
|
||||
+HOSTCC ?= gcc -g -Wall -pedantic -Wcast-qual
|
||||
+CC ?= $(HOSTCC) # change this is cross-compiling.
|
||||
|
||||
# By fiat, to make our lives easier, yacc is now defined to be bison.
|
||||
# If you want something else, you're on your own.
|
Loading…
Add table
Add a link
Reference in a new issue