beef747 Disable lto on s390x

Authored and Committed by zbyszek 8 months ago
1 file changed. 4 lines added. 0 lines removed.
    Disable lto on s390x
    
    In function 'strncpy',
        inlined from 'fctstr_safe_cpy' at /builddir/build/BUILD/sems-baad4717fdb3c02a63eb4869f31ec33ff8ec1fed/core/tests/fct.h:267:12,
        inlined from 'fct_ts_new' at /builddir/build/BUILD/sems-baad4717fdb3c02a63eb4869f31ec33ff8ec1fed/core/tests/fct.h:1157:20:
    /usr/include/bits/string_fortified.h:106:34: error: '__builtin_strncpy' specified bound 256 equals destination size [-Werror=stringop-truncation]
      106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
          |                                  ^
    lto1: some warnings being treated as errors
    
        
  • Build completed
    success
    Built as sems-1.7.0-0.4.20200311.git.baad471.fc34
    8 months ago
file modified
+4 -0