File: cross.patch

package info (click to toggle)
radlib 2.12.0-9
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,132 kB
  • sloc: ansic: 15,843; sh: 8,102; makefile: 501
file content (41 lines) | stat: -rw-r--r-- 1,608 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Description: enable cross compiling
--- a/debug/Makefile.am
+++ b/debug/Makefile.am
@@ -38,7 +38,3 @@
 INCLUDES         += -I$(prefix)/pgsql/include
 endif
 endif
-
-if CROSSCOMPILE
-raddebug_LDFLAGS += $(prefix)/lib/crt1.o $(prefix)/lib/crti.o $(prefix)/lib/crtn.o
-endif
--- a/debug/Makefile.in
+++ b/debug/Makefile.in
@@ -43,7 +43,6 @@
 @MYSQL_TRUE@am__append_4 = -L$(prefix)/lib64/mysql -L$(prefix)/lib/mysql -L/usr/lib64/mysql -L/usr/lib/mysql
 @MYSQL_FALSE@@PGRESQL_TRUE@am__append_5 = -L$(prefix)/pgsql/lib
 @MYSQL_FALSE@@PGRESQL_TRUE@am__append_6 = -I$(prefix)/pgsql/include
-@CROSSCOMPILE_TRUE@am__append_7 = $(prefix)/lib/crt1.o $(prefix)/lib/crti.o $(prefix)/lib/crtn.o
 subdir = debug
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
--- a/msgRouter/Makefile.am
+++ b/msgRouter/Makefile.am
@@ -38,7 +38,3 @@
 INCLUDES           += -I$(prefix)/pgsql/include
 endif
 endif
-
-if CROSSCOMPILE
-radmrouted_LDFLAGS += $(prefix)/lib/crt1.o $(prefix)/lib/crti.o $(prefix)/lib/crtn.o
-endif
--- a/msgRouter/Makefile.in
+++ b/msgRouter/Makefile.in
@@ -43,7 +43,6 @@
 @MYSQL_TRUE@am__append_4 = -L$(prefix)/lib64/mysql -L$(prefix)/lib/mysql -L/usr/lib64/mysql -L/usr/lib/mysql
 @MYSQL_FALSE@@PGRESQL_TRUE@am__append_5 = -L$(prefix)/lib -L$(prefix)/pgsql/lib
 @MYSQL_FALSE@@PGRESQL_TRUE@am__append_6 = -I$(prefix)/pgsql/include
-@CROSSCOMPILE_TRUE@am__append_7 = $(prefix)/lib/crt1.o $(prefix)/lib/crti.o $(prefix)/lib/crtn.o
 subdir = msgRouter
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4