From fde724aa2d6965836da88e8bfc27eb1b01707de2 Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Wed, 24 Nov 2021 01:35:01 -0800 Subject: [PATCH] Release v2.14.0.9 The following are the changes in this release: Due to issues with clang and Apple Silicon, ARCH_CFLAGS is now, by default, empty: ARCH_CFLAGS= If you want to use, say, -march=native, then either change the Makefile or make with: make all ARCH_CFLAGS='-march=native' Added arch and hardware as GNU Makefile computed values. As with ${target}, ${arch} and ${hardware} is computed by uname: target: uname -a arch: uname -p hardware: uname -m Fixed compiling calc on Apple Silicon with homebrew. On Apple Silicon, HomeBrew installs on into a different location. The Makefile checks if ${hardware} is arm64 and adjusts the location of libraries such as readline and history accordingly. --- Makefile.ship | 2 +- custom/Makefile | 2 +- custom/Makefile.head | 2 +- version.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile.ship b/Makefile.ship index f33ee78..93bef37 100644 --- a/Makefile.ship +++ b/Makefile.ship @@ -1211,7 +1211,7 @@ EXT= # The default calc versions # -VERSION= 2.14.0.8 +VERSION= 2.14.0.9 # Names of shared libraries with versions # diff --git a/custom/Makefile b/custom/Makefile index ab27b29..22a40e9 100644 --- a/custom/Makefile +++ b/custom/Makefile @@ -496,7 +496,7 @@ EXT= # The default calc versions # -VERSION= 2.14.0.8 +VERSION= 2.14.0.9 # Names of shared libraries with versions # diff --git a/custom/Makefile.head b/custom/Makefile.head index 480afec..7384911 100644 --- a/custom/Makefile.head +++ b/custom/Makefile.head @@ -496,7 +496,7 @@ EXT= # The default calc versions # -VERSION= 2.14.0.8 +VERSION= 2.14.0.9 # Names of shared libraries with versions # diff --git a/version.c b/version.c index deb57dc..c0924db 100644 --- a/version.c +++ b/version.c @@ -54,7 +54,7 @@ static char *program; #define MAJOR_VER 2 /* major library version */ #define MINOR_VER 14 /* minor library version */ #define MAJOR_PATCH 0 /* major software version level */ -#define MINOR_PATCH 8 /* minor software version level */ +#define MINOR_PATCH 9 /* minor software version level */ /*