how-lix-os-pkgs/awk/default/patch

12 lines
499 B
Plaintext

--- a/makefile 2020-08-02 20:28:55.385968902 +0000
+++ b/makefile 2020-08-08 21:34:09.350000000 +0000
@@ -31,7 +31,7 @@
#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
+HOSTCC = gcc -g -Wall -pedantic -Wcast-qual -static --static
CC = $(HOSTCC) # change this is cross-compiling.
# yacc options. pick one; this varies a lot by system.