mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
fix PowerPC detection under Darwin
Test if the arch value (`uname -p`) is "powerpc". PowerPC based systems no longer try to use xcrun to determine where things like INCDIR (include files) are located.
This commit is contained in:
6
CHANGES
6
CHANGES
@@ -27,15 +27,15 @@ The following are the changes from calc version 2.14.2.1 to date:
|
||||
ARCH_CFLAGS+= -arch ppc
|
||||
|
||||
Old Apple Power PC systems should be detected by the
|
||||
"uname -m" command returning "ppc". One may force the
|
||||
"uname -p" command returning "powerpc". One may force the
|
||||
Power PC mode by adding to the end of any make command:
|
||||
|
||||
target=Darwin hardware=ppc
|
||||
make ...make_args... target=Darwin arch=powerpc
|
||||
|
||||
or by adding the following in the Makefile.local file:
|
||||
|
||||
target= Darwin
|
||||
hardware= ppc
|
||||
arch= powerpc
|
||||
|
||||
Improved the output of the calcinfo rule by adding echos
|
||||
of various uname values as well as some top Makefile variables.
|
||||
|
Reference in New Issue
Block a user