These macros don't assume alignment and may be somewhat inefficient with all that copying. I'm hoping GCC is able to optimize that crap somewhat. Also the pg type receive functions can not, in fact, assume that their input buffers are properly aligned. That won't necessarily be the case for array elements.
19 lines
524 B
Perl
19 lines
524 B
Perl
use ExtUtils::MakeMaker;
|
|
use Config;
|
|
|
|
os_unsupported if $^O eq 'MSWin32'; # I don't know on which OS'es the code will work exactly, but this one I can easily rule out.
|
|
os_unsupported if $Config{ivsize} < 8;
|
|
os_unsupported if $Config{usequadmath};
|
|
|
|
WriteMakefile(
|
|
NAME => 'FU',
|
|
VERSION_FROM => 'FU.pm',
|
|
LICENSE => 'mit',
|
|
NO_MYMETA => 1,
|
|
MIN_PERL_VERSION => 'v5.36',
|
|
META_MERGE => {
|
|
dynamic_config => 0,
|
|
},
|
|
OPTIMIZE => '-g -O2 -Wall -Wextra',
|
|
depend => { '$(OBJECT)', 'c/*.c' },
|
|
);
|