mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	haiku: Basic fixes to build under Haiku
This commit is contained in:
		
							parent
							
								
									b08688f711
								
							
						
					
					
						commit
						2f514487cb
					
				
					 2 changed files with 6 additions and 1 deletions
				
			
		
							
								
								
									
										5
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										5
									
								
								Makefile
									
										
									
									
									
								
							|  | @ -143,6 +143,11 @@ LIBS += -lrt | |||
| endif | ||||
| endif | ||||
| 
 | ||||
| ifeq ($(OS), Haiku) | ||||
| # Allow usage of non-posix vasprintf, mkstemps functions
 | ||||
| CXXFLAGS += -D_DEFAULT_SOURCE | ||||
| endif | ||||
| 
 | ||||
| YOSYS_VER := 0.43+3 | ||||
| 
 | ||||
| # Note: We arrange for .gitcommit to contain the (short) commit hash in
 | ||||
|  |  | |||
|  | @ -967,7 +967,7 @@ std::string proc_self_dirname() | |||
| { | ||||
| 	return "/"; | ||||
| } | ||||
| #elif defined(__OpenBSD__) | ||||
| #elif defined(__OpenBSD__) || defined(__HAIKU__) | ||||
| char yosys_path[PATH_MAX]; | ||||
| char *yosys_argv0; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue