mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Add flag for -pg.
This commit is contained in:
		@@ -37,6 +37,10 @@ if IS_COVERAGE
 | 
			
		||||
CFLAGS += -g -O0 --coverage
 | 
			
		||||
LDFLAGS += --coverage
 | 
			
		||||
endif
 | 
			
		||||
if IS_PROFILE
 | 
			
		||||
CFLAGS += -g -O0 -pg
 | 
			
		||||
LDFLAGS += -pg
 | 
			
		||||
endif
 | 
			
		||||
CPPFLAGS += -iquote.
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -40,6 +40,14 @@ AC_ARG_ENABLE(
 | 
			
		||||
)
 | 
			
		||||
AM_CONDITIONAL(IS_COVERAGE, test "x$found_coverage" = xyes)
 | 
			
		||||
 | 
			
		||||
# Is this --enable-profile?
 | 
			
		||||
AC_ARG_ENABLE(
 | 
			
		||||
	profile,
 | 
			
		||||
	AC_HELP_STRING(--enable-profile, enable profile build flags),
 | 
			
		||||
	found_profile=$enable_profile
 | 
			
		||||
)
 | 
			
		||||
AM_CONDITIONAL(IS_PROFILE, test "x$found_profile" = xyes)
 | 
			
		||||
 | 
			
		||||
# Is this a static build?
 | 
			
		||||
AC_ARG_ENABLE(
 | 
			
		||||
	static,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user