blob: 38cedeff7d15e2dc82cf47bf004a9a4af4d59de0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
--- perl-5.10.0.orig/Makefile.micro 2007-12-18 11:47:07.000000000 +0100
+++ perl-5.10.0/Makefile.micro 2009-09-14 18:52:23.000000000 +0200
@@ -46,7 +46,7 @@ Config = '$$Config{$$1}'
patch_uconfig:
$(PERL) -MConfig -pi -e "s/^((?:short|int|long(?:dbl|long)?|ptr|double|[iun]v|u?quad|[iu]\d+|fpos|lseek)(?:size|type)|byteorder|d_quad|quadkind|use64.+)=.*/\\1='"$(Config)"'/g" uconfig.shx
-regen_uconfig uconfig.h: uconfig.sh
+regen_uconfig uconfig.h:
$(ENV) CONFIG_SH=uconfig.sh CONFIG_H=uconfig.h sh ./config_h.SH
# Do not regenerate perly.c and perly.h.
@@ -177,9 +177,9 @@ uudmap.h: generate_uudmap$(_X)
$(RUN) ./generate_uudmap$(_X) >uudmap.h
generate_uudmap$(_O): generate_uudmap.c
- $(CC) $(CCFLAGS) -o $@ $(CFLAGS) generate_uudmap.c
+ $(HOSTCC) $(CCFLAGS) -o $@ $(HOSTCFLAGS) generate_uudmap.c
generate_uudmap$(_X): generate_uudmap$(_O)
- $(LD) -o generate_uudmap $(LDFLAGS) generate_uudmap$(_O) $(LIBS)
+ $(HOSTCC) -o generate_uudmap $(HOSTLDFLAGS) generate_uudmap$(_O) $(LIBS)
# That's it, folks!
|