pkg-perl: fix build of perl XS packages
PATCH 1/1 pkg-perl: fix build of perl XS packages
Set OPTIMIZE in order to avoid the use of the host $Config{optimize} value which could cause breakage when cross-compiling for the target.
See discussion in http://lists.busybox.net/pipermail/buildroot/2014-August/104129.html
--- package/pkg-perl.mk | 2 ++ 1 file changed, 2 insertions(+)
package/pkg-perl.mk +2 -0
@@ -56,6 +56,7 @@ define $(2)_CONFIGURE_CMDS --config full_ar="$$(TARGET_AR)" \ --config cc="$$(TARGET_CC)" \ --config ccflags="$$(TARGET_CFLAGS)" \ + --config optimize=" " \ --config ld="$$(TARGET_CC)" \ --config lddlflags="-shared $$(TARGET_LDFLAGS)" \ --config ldflags="$$(TARGET_LDFLAGS)" \
@@ -78,6 +79,7 @@ define $(2)_CONFIGURE_CMDS FULL_AR="$$(TARGET_AR)" \ CC="$$(TARGET_CC)" \ CCFLAGS="$$(TARGET_CFLAGS)" \ + OPTIMIZE=" " \ LD="$$(TARGET_CC)" \ LDDLFLAGS="-shared $$(TARGET_LDFLAGS)" \ LDFLAGS="$$(TARGET_LDFLAGS)" \
Signature · 1 line
1.9.1
PATCH 1/1 pkg-perl: fix build of perl XS packages
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Francois" == Francois Perrad <[email protected]> writes:
Set OPTIMIZE in order to avoid the use of the host $Config{optimize} value which could cause breakage when cross-compiling for the target.
See discussion in http://lists.busybox.net/pipermail/buildroot/2014-August/104129.html
Signed-off-by Francois Perrad <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 pkg-perl: fix build of perl XS packages
In reply to Francois PerradDear Francois Perrad,
Quoted 9 lines · Francois Perrad
Set OPTIMIZE in order to avoid the use of the host $Config{optimize} value which could cause breakage when cross-compiling for the target.
See discussion in http://lists.busybox.net/pipermail/buildroot/2014-August/104129.html
Signed-off-by Francois Perrad <[email protected]>--- package/pkg-perl.mk | 2 ++ 1 file changed, 2 insertions(+)
This patch breaks the build of certain packages:
http://autobuild.buildroot.org/results/1a4/1a40923db4ba518001786b02d1d4ad2cf2bf7086/build-end.log.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com