Subject: | Not a CODE reference at /usr/lib/perl5/DynaLoader.pm caused by CCFLAGS |
Ran into the bug described below;
https://lists.fedoraproject.org/pipermail/perl-devel/2011-June/037523.html
while building package for Fedora i686. The attached patch fixed the issue.
Subject: | x11_guitest_makefile_i686.patch |
diff -Naur old/Makefile.PL new/Makefile.PL
--- Makefile.PL 2013-02-06 10:56:46.000000000 +1100
+++ Makefile.PL 2014-03-09 22:01:17.577146756 +1100
@@ -30,7 +30,6 @@
# (X server) extensions, use "-DX11_GUITEST_USING_XINERAMA".
'DEFINE' => '-DNDEBUG -DX11_GUITEST_ALT_L_FALLBACK_META_L', # e.g., '-DHAVE_SOMETHING'
'INC' => '-I/usr/X11R6/include -I/usr/X/include', # e.g., '-I/usr/include/other'
- 'CCFLAGS' => '-Wall',
'OBJECT' => 'GUITest$(OBJ_EXT) KeyUtil$(OBJ_EXT)',
'OPTIMIZE' => '-O2',
'META_MERGE' => {