Little improvements
This commit is contained in:
		
							parent
							
								
									6e9217e5d0
								
							
						
					
					
						commit
						199c56e141
					
				| @ -2,11 +2,11 @@ project (liberty C) | ||||
| cmake_minimum_required (VERSION 2.8.5) | ||||
| 
 | ||||
| # Moar warnings | ||||
| if ("${CMAKE_C_COMPILER_ID}" MATCHES "GNU" OR CMAKE_COMPILER_IS_GNUC) | ||||
| if ("${CMAKE_C_COMPILER_ID}" MATCHES "GNU" OR CMAKE_COMPILER_IS_GNUCC) | ||||
| 	# -Wunused-function is pretty annoying here, as everything is static | ||||
| 	set (wdisabled "-Wno-unused-function -Wno-implicit-fallthrough") | ||||
| 	set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -Wall -Wextra ${wdisabled}") | ||||
| endif ("${CMAKE_C_COMPILER_ID}" MATCHES "GNU" OR CMAKE_COMPILER_IS_GNUC) | ||||
| endif ("${CMAKE_C_COMPILER_ID}" MATCHES "GNU" OR CMAKE_COMPILER_IS_GNUCC) | ||||
| 
 | ||||
| # Dependencies | ||||
| set (CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake) | ||||
|  | ||||
| @ -14,7 +14,7 @@ fakeroot sh -e <<-EOF | ||||
| 	url = $url | ||||
| 	builddate = \`date -u +%s\` | ||||
| 	packager = $author | ||||
| 	size = \`du -sb --apparent-size | cut -f1\` | ||||
| 	size = \`du -sb | cut -f1\` | ||||
| 	arch = $arch | ||||
| 	END | ||||
| 	cd "$wd" && tar cJf "../$target" .PKGINFO * | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user