mirror of
				https://github.com/Zygo/bees.git
				synced 2025-11-03 19:50:34 +01:00 
			
		
		
		
	libcrucible at one time in the distant past had to be a shared library to force global C++ object initialization; however, this is no longer required. Make libcrucible static to solve various rpath and soname versioning issues, especially when distros try (unwisely) to package the library separately. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
		
			
				
	
	
		
			14 lines
		
	
	
		
			329 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			329 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
# Default:
 | 
						|
CCFLAGS = -Wall -Wextra -Werror -O3
 | 
						|
 | 
						|
# Optimized:
 | 
						|
# CCFLAGS = -Wall -Wextra -Werror -O3 -march=native
 | 
						|
 | 
						|
# Debug:
 | 
						|
# CCFLAGS = -Wall -Wextra -Werror -O0 -ggdb
 | 
						|
 | 
						|
CCFLAGS += -I../include -D_FILE_OFFSET_BITS=64
 | 
						|
 | 
						|
BEES_CFLAGS   = $(CCFLAGS) -std=c99 $(CFLAGS)
 | 
						|
BEES_CXXFLAGS = $(CCFLAGS) -std=c++11 -Wold-style-cast $(CXXFLAGS)
 |