Skip to content

Commit

Permalink
lisp/image/jpeg/makefile: use gcc -dummachine to get machine name
Browse files Browse the repository at this point in the history
  • Loading branch information
k-okada committed May 2, 2022
1 parent c11298d commit 57e5139
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lisp/image/jpeg/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ else
LD = gcc -dynamiclib
endif

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

0 comments on commit 57e5139

Please sign in to comment.