Fix for compatibility of GCC 4.7.
authorJunfeng <junfeng.dong@intel.com>
Wed, 20 Mar 2013 03:03:46 +0000 (11:03 +0800)
committerJunfeng <junfeng.dong@intel.com>
Wed, 20 Mar 2013 03:03:46 +0000 (11:03 +0800)
Change-Id: If923d10339e088cc1addb7d21e68097a94d6f715

packaging/libprivilege-control.spec

index 27469b5..4ae9ce0 100644 (file)
@@ -38,6 +38,7 @@ Library to control privilege of application files
 %setup -q
 
 %build
+export CFLAGS="${CFLAGS} -Wno-implicit-function-declaration"
 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCMAKE_BUILD_TYPE=%{?build_type:%build_type}
 
 make %{?jobs:-j%jobs}