diff options
-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 b589d95d4c..234cfefd99 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 \ |