Subject: | EUMM 7.02 breaks CCFLAGS handling |
As of
commit 88e241815c36fd7e2e0db73c93ff2ec458cddd7c
Author: Chris 'BinGOs' Williams <chris@bingosnet.co.uk>
Date: Sat Nov 8 14:11:24 2014 +0000
Update ExtUtils-MakeMaker to CPAN version 7.02
with this compiler:
$ g++ -v
Using built-in specs.
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
I am seeing the following problem in bleadperl:
$ ./miniperl -Ilib make_ext.pl MAKE=make XS-APItest
g++ -c -fno-common -DPERL_DARWIN -no-cpp-precomp -DPERL_BOOL_AS_CHAR -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -Wno-deprecated-declarations-Wall -ansi -Werror=declaration-after-statement -Wextra -Wwrite-strings -O3 -DVERSION=\"0.68\" -DXS_VERSION=\"0.68\" "-I../.." APItest.c
cc1plus: error: unrecognized command line option "-Wno-deprecated-declarations-Wall"
make: *** [APItest.o] Error 1
ext/XS-APItest/Makefile.PL includes:
($Config{gccversion} && $Config{d_attribute_deprecated} ?
(CCFLAGS => $Config{ccflags} . ' -Wno-deprecated-declarations') : ()),
If I add a space after ‘declarations’ the problem goes away.
I haven’t looked into it further.