fix code check on master

This commit is contained in:
shenwei41 2021-06-01 15:41:24 +08:00
parent 28848a97b9
commit 1e27f88b84
4 changed files with 7 additions and 7 deletions

View File

@ -16,8 +16,8 @@
#include "minddata/dataset/kernels/image/lite_cv/image_process.h"
#include <float.h>
#include <limits.h>
#include <cfloat>
#include <climits>
#include <cstring>
#include <cmath>
#include <limits>

View File

@ -13,8 +13,8 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <limits.h>
#include <math.h>
#include <climits>
#include <cmath>
#include <vector>
#include "lite_cv/lite_mat.h"

View File

@ -5,8 +5,8 @@
THE_OS="Linux"
THE_COMP="the clang or else GNU C++"
- RELEASE_CFLAGS='-O3'
+ RELEASE_CFLAGS='-fstack-protector -D_FORTIFY_SOURCE=2 -O3'
+ RELEASE_CFLAGS='-fstack-protector -D_FORTIFY_SOURCE=2 -O3 -Wl,-z,relro,-z,now'
- RELEASE_CXXFLAGS='-O3'
+ RELEASE_CXXFLAGS='-fstack-protector -D_FORTIFY_SOURCE=2 -O3'
+ RELEASE_CXXFLAGS='-fstack-protector -D_FORTIFY_SOURCE=2 -O3 -Wl,-z,relro,-z,now'
DEBUG_CFLAGS='-g'
DEBUG_CXXFLAGS='-g'