diff --git a/lang/perl/files/base.config b/lang/perl/files/base.config index 99170bf04..90a2cfbf6 100644 --- a/lang/perl/files/base.config +++ b/lang/perl/files/base.config @@ -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'