Skip to content
Snippets Groups Projects
Commit 4b5c4d07 authored by deuce's avatar deuce
Browse files

Fix bug in last commit.

parent cd97aa7f
No related branches found
No related tags found
No related merge requests found
...@@ -55,16 +55,15 @@ endif ...@@ -55,16 +55,15 @@ endif
os := $(shell echo $(os) | tr '[A-Z]' '[a-z]' | tr ' ' '_') 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) 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),sun4u)
CFLAGS += -D__BIG_ENDIAN__
endif
ifeq ($(machine),) ifeq ($(machine),)
machine := $(os) machine := $(os)
else else
machine := $(os).$(machine) machine := $(os).$(machine)
endif endif
ifeq ($(machine),sun4u)
CFLAGS += -D__BIG_ENDIAN__
endif
LIBODIR := $(CCPRE).$(machine).lib.$(BUILDPATH) LIBODIR := $(CCPRE).$(machine).lib.$(BUILDPATH)
EXEODIR := $(CCPRE).$(machine).exe.$(BUILDPATH) EXEODIR := $(CCPRE).$(machine).exe.$(BUILDPATH)
LDFLAGS += -L$(LIBODIR) LDFLAGS += -L$(LIBODIR)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment