Browse Source

perl: build with -fno-strict-liasing and -fwrapv

Looking at Configure and Porting/config.sh, it seems that Perl
requires both of these options to build correctly.

Should fix FS #1464.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
lilik-openwrt-22.03
Philip Prindeville 6 years ago
parent
commit
4e29b4f3bb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lang/perl/files/base.config

+ 1
- 1
lang/perl/files/base.config View File

@ -1043,7 +1043,7 @@ full_ar="${owrt:target_cross}ar"
# Tool flags
cppflags="$owrt:cflags"
ccflags="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $owrt:cflags"
ccflags="-fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $owrt:cflags"
ccflags_uselargefiles='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
ccdlflags="-fPIC -rdynamic -Wl,-rpath,$owrt:perllibpath/CORE"
cccdlflags='-fPIC'


Loading…
Cancel
Save