Merge pull request #13 from sergiobenrocha2/master
[ARM] Enable dynarec, works at least in rpi.
This commit is contained in:
		
						commit
						3309d13f80
					
				
					 1 changed files with 7 additions and 3 deletions
				
			
		
							
								
								
									
										10
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								Makefile
									
										
									
									
									
								
							|  | @ -79,6 +79,8 @@ ifeq ($(platform), unix) | ||||||
| 	ifeq ($(HAVE_DYNAREC),1) | 	ifeq ($(HAVE_DYNAREC),1) | ||||||
| 		HAVE_MMAP = 1 | 		HAVE_MMAP = 1 | ||||||
| 	endif | 	endif | ||||||
|  | 
 | ||||||
|  | # Linux portable
 | ||||||
| else ifeq ($(platform), linux-portable) | else ifeq ($(platform), linux-portable) | ||||||
| 	TARGET := $(TARGET_NAME)_libretro.so | 	TARGET := $(TARGET_NAME)_libretro.so | ||||||
| 	fpic := -fPIC -nostdlib | 	fpic := -fPIC -nostdlib | ||||||
|  | @ -240,10 +242,12 @@ else ifneq (,$(findstring armv,$(platform))) | ||||||
| 		CFLAGS += -mfloat-abi=hard | 		CFLAGS += -mfloat-abi=hard | ||||||
| 		ASFLAGS += -mfloat-abi=hard | 		ASFLAGS += -mfloat-abi=hard | ||||||
| 	endif | 	endif | ||||||
| 	# Disable dynarec for now, issue 11 |  | ||||||
| 	#HAVE_DYNAREC := 1 |  | ||||||
| 	#CFLAGS += -DARM -DARM_ARCH -DARM_MEMORY_DYNAREC |  | ||||||
| 	CFLAGS += -DARM -DARM_ARCH | 	CFLAGS += -DARM -DARM_ARCH | ||||||
|  | 	# Dynarec works at least in rpi, take a look at issue #11 | ||||||
|  | 	ifeq (,$(findstring no-dynarec,$(platform))) | ||||||
|  | 		HAVE_DYNAREC := 1 | ||||||
|  | 		CFLAGS += -DARM_MEMORY_DYNAREC | ||||||
|  | 	endif | ||||||
| 	LDFLAGS := -Wl,--no-undefined	 | 	LDFLAGS := -Wl,--no-undefined	 | ||||||
| 
 | 
 | ||||||
| # emscripten
 | # emscripten
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue