diff options
author | David Spencer <baildon.research@googlemail.com> | 2015-12-11 17:46:06 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-17 09:40:16 +0700 |
commit | 48acc286e9026c79ed983382a17eebd40a63d35f (patch) | |
tree | 7bbe74e0025191c1b24ed341d0a94a78c35ddb4b /development | |
parent | 96fab913f75fa3df9bfbc3ae474d87750168ff8e (diff) |
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>
Diffstat (limited to 'development')
-rw-r--r-- | development/cmocka/cmocka.SlackBuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/development/cmocka/cmocka.SlackBuild b/development/cmocka/cmocka.SlackBuild index b589d95d4cefb..234cfefd99975 100644 --- a/development/cmocka/cmocka.SlackBuild +++ b/development/cmocka/cmocka.SlackBuild @@ -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 \ |