diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2017-07-24 03:46:06 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2017-07-24 03:46:06 +0200 |
commit | 199c56e1418fad52f110328585b47a6ff2956620 (patch) | |
tree | 901e1bd7fd781450f05e4cc97b0354ce9f577d62 | |
parent | 6e9217e5d05d95849fbaa795f92eca4ad86b1507 (diff) | |
download | liberty-199c56e1418fad52f110328585b47a6ff2956620.tar.gz liberty-199c56e1418fad52f110328585b47a6ff2956620.tar.xz liberty-199c56e1418fad52f110328585b47a6ff2956620.zip |
Little improvements
-rw-r--r-- | CMakeLists.txt | 4 | ||||
-rwxr-xr-x | meson/packaging/make-pacman.sh | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6d999e6..a71d85a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/meson/packaging/make-pacman.sh b/meson/packaging/make-pacman.sh index 375cff8..5c7fc9e 100755 --- a/meson/packaging/make-pacman.sh +++ b/meson/packaging/make-pacman.sh @@ -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 * |