Simplify cross-compiling change. Update FIXES.

This commit is contained in:
Arnold D. Robbins 2019-03-12 21:54:57 +02:00
parent c83d943830
commit 55edb1b1dd
2 changed files with 7 additions and 1 deletions

6
FIXES
View File

@ -25,6 +25,12 @@ THIS SOFTWARE.
This file lists all bug fixes, changes, etc., made since the AWK book
was sent to the printers in August, 1987.
Mar 12, 2019:
Added very simplistic support for cross-compiling in the
makefile. We are NOT going to go in the direction of the
autotools, though. Thanks to GitHub user nee-san for
the basic change. (Merged from PR #34.)
Mar 5, 2019:
Added support for POSIX-standard interval expressions (a.k.a.
bounds, a.k.a. repetition expressions) in regular expressions,

View File

@ -31,7 +31,7 @@ CFLAGS = -O2
#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
CC ?= $(HOSTCC)
CC = $(HOSTCC) # change this is cross-compiling.
# yacc options. pick one; this varies a lot by system.
#YFLAGS = -d -S