mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
Update Makefile.common to work with devkitPPC r27. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@4684 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
0f62db298c
commit
eb8645b6ea
1 changed files with 12 additions and 6 deletions
|
@ -429,11 +429,17 @@ ifneq (0,$(RELEASE))
|
||||||
ifeq (0,$(CLANG))
|
ifeq (0,$(CLANG))
|
||||||
COMMONFLAGS += -funswitch-loops
|
COMMONFLAGS += -funswitch-loops
|
||||||
ifeq (1,$(strip $(shell expr $(GCC_MAJOR) \< 4)))
|
ifeq (1,$(strip $(shell expr $(GCC_MAJOR) \< 4)))
|
||||||
LTO=0
|
override LTO=0
|
||||||
endif
|
endif
|
||||||
ifeq (1,$(strip $(shell expr $(GCC_MAJOR) = 4)))
|
ifeq (1,$(strip $(shell expr $(GCC_MAJOR) = 4)))
|
||||||
|
ifeq ($(PLATFORM),WII)
|
||||||
|
ifeq (1,$(strip $(shell expr $(GCC_MINOR) \< 8)))
|
||||||
|
override LTO=0
|
||||||
|
endif
|
||||||
|
else
|
||||||
ifeq (1,$(strip $(shell expr $(GCC_MINOR) \< 6)))
|
ifeq (1,$(strip $(shell expr $(GCC_MINOR) \< 6)))
|
||||||
LTO=0
|
override LTO=0
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
@ -968,10 +974,10 @@ endif
|
||||||
ifneq ($(PLATFORM),WINDOWS)
|
ifneq ($(PLATFORM),WINDOWS)
|
||||||
ifneq ($(PLATFORM),WII)
|
ifneq ($(PLATFORM),WII)
|
||||||
LIBS+= -ldl
|
LIBS+= -ldl
|
||||||
endif
|
|
||||||
ifneq ($(PLATFORM),DARWIN)
|
ifneq ($(PLATFORM),DARWIN)
|
||||||
LIBS+= -pthread
|
LIBS+= -pthread
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(PLATFORM),WINDOWS)
|
ifeq ($(PLATFORM),WINDOWS)
|
||||||
|
|
Loading…
Reference in a new issue