mirror of
https://github.com/FunKey-Project/gpsp_libretro.git
synced 2025-12-12 18:28:51 +01:00
Some Makefile improvements
This commit is contained in:
parent
5820d8be94
commit
7e08f8c67b
5
Makefile
5
Makefile
@ -20,6 +20,7 @@ ifeq ($(platform),)
|
|||||||
arch = intel
|
arch = intel
|
||||||
ifeq ($(shell uname -p),powerpc)
|
ifeq ($(shell uname -p),powerpc)
|
||||||
arch = ppc
|
arch = ppc
|
||||||
|
FORCE_32BIT_ARCH = 1
|
||||||
endif
|
endif
|
||||||
else ifneq ($(findstring win,$(shell uname -a)),)
|
else ifneq ($(findstring win,$(shell uname -a)),)
|
||||||
platform = win
|
platform = win
|
||||||
@ -32,7 +33,7 @@ ifeq ($(firstword $(filter x86_64,$(UNAME))),x86_64)
|
|||||||
else ifeq ($(firstword $(filter amd64,$(UNAME))),amd64)
|
else ifeq ($(firstword $(filter amd64,$(UNAME))),amd64)
|
||||||
|
|
||||||
else ifeq ($(firstword $(filter x86,$(UNAME))),x86)
|
else ifeq ($(firstword $(filter x86,$(UNAME))),x86)
|
||||||
FORCE_32BIT_ARCH := 1
|
FORCE_32BIT_ARCH = 1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
FORCE_32BIT :=
|
FORCE_32BIT :=
|
||||||
@ -233,7 +234,7 @@ ifeq ($(HAVE_MMAP), 1)
|
|||||||
CFLAGS += -DHAVE_MMAP
|
CFLAGS += -DHAVE_MMAP
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(HAVE_DYNAREC), 1)
|
ifeq ($(FORCE_32BIT_ARCH), 1)
|
||||||
# Forcibly disable PIC
|
# Forcibly disable PIC
|
||||||
fpic :=
|
fpic :=
|
||||||
endif
|
endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user