Skip to content

Commit a3ade91

Browse files
committed
use gcc -dummachine to get machine name
1 parent 8c8d06c commit a3ade91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lisp/image/jpeg/makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ else
1818
LD = gcc -dynamiclib
1919
endif
2020

21-
ifeq ($(shell uname -m), x86_64)
21+
ifeq ($(shell $(CC) -dumpmachine | sed 's/\([^-]*\).*/\1/'), x86_64)
2222
ifneq ($(ARCHDIR), Linux64)
2323
ifneq ($(ARCHDIR), Darwin)
2424
CC += -m32

0 commit comments

Comments
 (0)