mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 19:52:31 +00:00 
			
		
		
		
	Fix linking issue for new mxe and pthread
This commit is contained in:
		
							parent
							
								
									3f633690ae
								
							
						
					
					
						commit
						7a65ed19a5
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		
							
								
								
									
										3
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										3
									
								
								Makefile
									
										
									
									
									
								
							|  | @ -261,7 +261,8 @@ CXXFLAGS := $(filter-out -fPIC,$(CXXFLAGS)) | |||
| LDFLAGS := $(filter-out -rdynamic,$(LDFLAGS)) -s | ||||
| LDLIBS := $(filter-out -lrt,$(LDLIBS)) | ||||
| ABCMKARGS += ARCHFLAGS="-DWIN32_NO_DLL -DHAVE_STRUCT_TIMESPEC -fpermissive -w" | ||||
| ABCMKARGS += LIBS="lib/x86/pthreadVC2.lib -s" ABC_USE_NO_READLINE=1 CC="/usr/local/src/mxe/usr/bin/i686-w64-mingw32.static-gcc" | ||||
| # TODO: Try to solve pthread linking issue in more appropriate way
 | ||||
| ABCMKARGS += LIBS="lib/x86/pthreadVC2.lib -s" LDFLAGS="-Wl,--allow-multiple-definition" ABC_USE_NO_READLINE=1 CC="/usr/local/src/mxe/usr/bin/i686-w64-mingw32.static-gcc" | ||||
| EXE = .exe | ||||
| 
 | ||||
| else ifeq ($(CONFIG),msys2) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue