projects/guix·blob python-team · refs

13 lines · 445 B

1Use 'uname -m', which in practice returns the processor architecture.
2
3--- psm-3.3/buildflags.mak~ 2014-08-20 21:00:18.000000000 +0100
4+++ psm-3.3/buildflags.mak 2017-10-22 12:02:12.855291447 +0100
5@@ -38,7 +38,7 @@
6 endif
7
8 export os ?= $(shell uname -s | tr '[A-Z]' '[a-z]')
9-export arch := $(shell uname -p | sed -e 's,\(i[456]86\|athlon$$\),i386,')
10+export arch := $(shell uname -m | sed -e 's,\(i[456]86\|athlon$$\),i386,')
11
12 CC ?= gcc
13