Skip to content
Snippets Groups Projects
Commit 960211f0 authored by deuce's avatar deuce
Browse files

Linux calls it a sparc64, not a sun4u.

parent 008cd0c4
No related branches found
No related tags found
No related merge requests found
......@@ -168,6 +168,9 @@ endif
os := $(shell echo $(os) | tr '[A-Z]' '[a-z]' | tr ' ' '_')
machine := $(shell if uname -m | egrep -v "(i[3456789]|x)86" > /dev/null; then uname -m | tr "[A-Z]" "[a-z]" | tr " " "_" ; fi)
ifeq ($(machine),sparc64)
CFLAGS += -D__BIG_ENDIAN__
endif
ifeq ($(machine),sun4u)
CFLAGS += -D__BIG_ENDIAN__
endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment