]> git.pld-linux.org Git - packages/aep1000.git/blame - aep1000-make.patch
- allow building on Linux 2.6.x
[packages/aep1000.git] / aep1000-make.patch
CommitLineData
3784f38e
JB
1--- Host/aeploader/make.conf.orig 2007-09-02 23:35:03.864667000 +0200
2+++ Host/aeploader/make.conf 2007-09-03 00:13:02.750534022 +0200
3@@ -180,7 +180,7 @@ case "${PLATFORM}:${RELEASE}:${CMPLR}" i
4 #------------------------------
5 # Linux 2.4.* gcc
6 #------------------------------
7- Linux:2.4.*:gcc)
8+ Linux:2.[46].*:gcc)
9 cflags="-Wall -I../h -I../Daemon/h -I../API/h -I../../common ${ENDIAN_FLAG} ${BITS_FLAG} -D_REENTRANT -fPIC"
10 ldflags="-lpthread -L. -L../API -laep"
11 ;;
12--- Host/API/make.conf.orig 2007-09-02 23:35:03.856667000 +0200
13+++ Host/API/make.conf 2007-09-03 00:10:54.215209211 +0200
14@@ -123,10 +123,13 @@ ENDIAN_FLAG="-DL_ENDIAN"
15 BITS_FLAG="-D_32BIT"
16
17 case ${MACHINE} in
18- *86*)
19+ *86*|alpha)
20 ENDIAN_FLAG="-DL_ENDIAN"
21 BITS_FLAG="-D_32BIT"
22 ;;
23+ ppc*|sparc*)
24+ ENDIAN_FLAG="-DB_ENDIAN"
25+ ;;
26 sun4*)
27 ENDIAN_FLAG="-DB_ENDIAN"
28 ISA=`(isainfo) 2>/dev/null`
29@@ -175,7 +178,7 @@ case "${PLATFORM}:${RELEASE}:${CMPLR}" i
30 #------------------------------
31 # Linux 2.4.* gcc
32 #------------------------------
33- Linux:2.4.*:gcc)
34+ Linux:2.[46].*:gcc)
35 TARGET="libaep.so.1"
36 cflags="-Wall -I../h -I./h -I../../common ${ENDIAN_FLAG} ${BITS_FLAG} -D_REENTRANT -fPIC"
37 ldflags="-shared -O-no-undefined -Wl,-soname=${TARGET}"
38--- Host/Daemon/make.conf.orig 2007-09-02 23:35:03.856667000 +0200
39+++ Host/Daemon/make.conf 2007-09-03 00:11:45.838151035 +0200
40@@ -126,10 +126,13 @@ ENDIAN_FLAG="-DL_ENDIAN"
41 BITS_FLAG="-D_32BIT"
42
43 case ${MACHINE} in
44- *86*)
45+ *86*|alpha)
46 ENDIAN_FLAG="-DL_ENDIAN"
47 BITS_FLAG="-D_32BIT"
48 ;;
49+ ppc*|sparc*)
50+ ENDIAN_FLAG="-DB_ENDIAN"
51+ ;;
52 sun4*)
53 ENDIAN_FLAG="-DB_ENDIAN"
54 ISA=`(isainfo) 2>/dev/null`
55@@ -178,7 +181,7 @@ case "${PLATFORM}:${RELEASE}:${CMPLR}" i
56 #------------------------------
57 # Linux 2.4.* gcc
58 #------------------------------
59- Linux:2.4.*:gcc)
60+ Linux:2.[46].*:gcc)
61 TARGET="aepdaemon"
62 cflags="-Wall -I../h -I./h -I../../common ${ENDIAN_FLAG} ${BITS_FLAG} -D_REENTRANT -fPIC"
63 ldflags="-lpthread -lnsl -lrt"
64--- Host/Test/quicktest/make.conf.orig 2007-09-02 23:35:03.856667000 +0200
65+++ Host/Test/quicktest/make.conf 2007-09-03 00:12:27.744539144 +0200
66@@ -177,7 +177,7 @@ case "${PLATFORM}:${RELEASE}:${CMPLR}" i
67 #------------------------------
68 # Linux 2.4.* gcc
69 #------------------------------
70- Linux:2.4.*:gcc)
71+ Linux:2.[46].*:gcc)
72 cflags="-Wall -I./h -I../../h ${ENDIAN_FLAG} ${BITS_FLAG} -D_REENTRANT -fPIC"
73 ldflags="-lpthread -L. -L../../API -laep"
74 ;;
75--- Host/versionApp/make.conf.orig 2007-09-02 23:35:03.860667000 +0200
76+++ Host/versionApp/make.conf 2007-09-03 00:13:19.363480739 +0200
77@@ -178,7 +178,7 @@ case "${PLATFORM}:${RELEASE}:${CMPLR}" i
78 #------------------------------
79 # Linux 2.4.* gcc
80 #------------------------------
81- Linux:2.4.*:gcc)
82+ Linux:2.[46].*:gcc)
83 cflags=" -Wall -I../h -I./h ${ENDIAN_FLAG} ${BITS_FLAG} -D_REENTRANT -fPIC"
84 ldflags="-lpthread -L. -L../API -laep"
85 ;;
This page took 0.048083 seconds and 4 git commands to generate.