Add -lm on any arm/arm64 BSD, not just FreeBSD
This commit is contained in:
		
							parent
							
								
									b231fbcd67
								
							
						
					
					
						commit
						5a294b0c8a
					
				| 
						 | 
					@ -419,7 +419,7 @@ ifeq ($(OSNAME), AIX)
 | 
				
			||||||
EXTRALIB	+= -lm
 | 
					EXTRALIB	+= -lm
 | 
				
			||||||
endif
 | 
					endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ifeq ($(OSNAME), FreeBSD)
 | 
					ifeq ($(OSNAME), $(filter $(OSNAME),FreeBSD OpenBSD NetBSD DragonFly)
 | 
				
			||||||
ifeq ($(ARCH), $(filter $(ARCH),arm arm64))
 | 
					ifeq ($(ARCH), $(filter $(ARCH),arm arm64))
 | 
				
			||||||
EXTRALIB	+= -lm
 | 
					EXTRALIB	+= -lm
 | 
				
			||||||
endif
 | 
					endif
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue