mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
development/cmocka: Fixed build with gcc-5.2.0.
Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
96fab913f7
commit
48acc286e9
1 changed files with 5 additions and 0 deletions
|
@ -69,6 +69,11 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
# Fix for gcc-5.2.0
|
||||
# "ISO C does not support ‘__FUNCTION__’ predefined identifier"
|
||||
sed -i -e 's/ -pedantic -pedantic-errors//' \
|
||||
cmake/Modules/DefineCompilerFlags.cmake
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake \
|
||||
|
|
Loading…
Reference in a new issue