259
|
1 |
diff -ur AfterStep-2.2.5-orig/autoconf/Makefile.common.lib.in AfterStep-2.2.5/autoconf/Makefile.common.lib.in
|
|
2 |
--- AfterStep-2.2.5-orig/autoconf/Makefile.common.lib.in 2007-04-21 05:10:45.000000000 +0700
|
|
3 |
+++ AfterStep-2.2.5/autoconf/Makefile.common.lib.in 2007-04-28 14:54:56.940641247 +0700
|
|
4 |
@@ -245,8 +245,8 @@
|
|
5 |
$(LN_S) -f $(LIB_SHARED).$(LIBVER) $(LIB_SHARED).$(LIBVERMAJOR)
|
|
6 |
|
|
7 |
$(LIB_SHARED).$(LIBVER): $(LIB_OBJS) $(LIB_INCS)
|
|
8 |
- $(CC) -shared -Wl,-soname,$(LIB_SHARED).$(LIBVERMAJOR) -o $(LIB_SHARED).$(LIBVER) \
|
|
9 |
- $(LIB_OBJS)
|
|
10 |
+ $(CC) -Wl,-G,-h,$(LIB_SHARED).$(LIBVERMAJOR) -o $(LIB_SHARED).$(LIBVER) \
|
|
11 |
+ $(LIB_OBJS) $(USER_LD_FLAGS) $(LIBS_ALL)
|
|
12 |
|
|
13 |
install: install.lib install.bin
|
|
14 |
|
|
15 |
diff -ur AfterStep-2.2.5-orig/autoconf/configure.in AfterStep-2.2.5/autoconf/configure.in
|
|
16 |
--- AfterStep-2.2.5-orig/autoconf/configure.in 2007-04-24 04:17:11.000000000 +0700
|
|
17 |
+++ AfterStep-2.2.5/autoconf/configure.in 2007-04-28 14:10:35.486922756 +0700
|
|
18 |
@@ -144,7 +144,6 @@
|
|
19 |
if test -z "`echo $CFLAGS | grep '\-fPIC' 2> /dev/null`" ; then
|
|
20 |
CFLAGS="$CFLAGS -fPIC"
|
|
21 |
fi
|
|
22 |
- LDFLAGS="$LDFLAGS -rdynamic"
|
|
23 |
fi
|
|
24 |
|
|
25 |
dnl# Add -g
|
|
26 |
diff -ur AfterStep-2.2.5-orig/autoconf/configure.libs.in AfterStep-2.2.5/autoconf/configure.libs.in
|
|
27 |
--- AfterStep-2.2.5-orig/autoconf/configure.libs.in 2005-03-22 23:10:50.000000000 +0700
|
|
28 |
+++ AfterStep-2.2.5/autoconf/configure.libs.in 2007-04-28 14:10:24.006460177 +0700
|
|
29 |
@@ -116,9 +116,6 @@
|
|
30 |
CFLAGS="$CFLAGS -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wconversion -Wcomment -Wcast-align -Winline -Wshadow -Wredundant-decls -Wid-clash-31"
|
|
31 |
fi
|
|
32 |
|
|
33 |
-if test "x$GCC" = "xyes"; then
|
|
34 |
- LDFLAGS="$LDFLAGS -rdynamic"
|
|
35 |
-fi
|
|
36 |
|
|
37 |
dnl# done with flags - lets export those for our children to use :
|
|
38 |
export CFLAGS
|
|
39 |
diff -ur AfterStep-2.2.5-orig/configure AfterStep-2.2.5/configure
|
|
40 |
--- AfterStep-2.2.5-orig/configure 2007-04-24 04:17:11.000000000 +0700
|
|
41 |
+++ AfterStep-2.2.5/configure 2007-04-28 15:15:14.431259619 +0700
|
|
42 |
@@ -3197,7 +3197,6 @@
|
|
43 |
if test -z "`echo $CFLAGS | grep '\-fPIC' 2> /dev/null`" ; then
|
|
44 |
CFLAGS="$CFLAGS -fPIC"
|
|
45 |
fi
|
|
46 |
- LDFLAGS="$LDFLAGS -rdynamic"
|
|
47 |
fi
|
|
48 |
|
|
49 |
STRIP_BINARIES=
|
|
50 |
diff -ur AfterStep-2.2.5-orig/libAfterBase/Makefile.in AfterStep-2.2.5/libAfterBase/Makefile.in
|
|
51 |
--- AfterStep-2.2.5-orig/libAfterBase/Makefile.in 2007-04-21 05:10:45.000000000 +0700
|
|
52 |
+++ AfterStep-2.2.5/libAfterBase/Makefile.in 2007-04-28 15:18:03.176642692 +0700
|
|
53 |
@@ -325,7 +325,7 @@
|
|
54 |
$(LN_S) -f $(LIB_SHARED).$(LIBVER) $(LIB_SHARED).$(LIBVERMAJOR)
|
|
55 |
|
|
56 |
$(LIB_SHARED).$(LIBVER): $(LIB_OBJS) $(LIB_INCS)
|
|
57 |
- $(CC) -shared -Wl,-soname,$(LIB_SHARED).$(LIBVERMAJOR) -o $(LIB_SHARED).$(LIBVER) \
|
|
58 |
+ $(CC) -Wl,-G,-h,$(LIB_SHARED).$(LIBVERMAJOR) -o $(LIB_SHARED).$(LIBVER) \
|
|
59 |
$(USER_LD_FLAGS) $(LIBS_X) $(LIB_OBJS)
|
|
60 |
|
|
61 |
install: install.lib
|
|
62 |
diff -ur AfterStep-2.2.5-orig/libAfterBase/configure AfterStep-2.2.5/libAfterBase/configure
|
|
63 |
--- AfterStep-2.2.5-orig/libAfterBase/configure 2007-04-24 04:17:11.000000000 +0700
|
|
64 |
+++ AfterStep-2.2.5/libAfterBase/configure 2007-04-28 15:15:03.495068645 +0700
|
|
65 |
@@ -2468,7 +2468,6 @@
|
|
66 |
if test -z "`echo $CFLAGS | grep '\-fPIC' 2> /dev/null`" ; then
|
|
67 |
CFLAGS="$CFLAGS -fPIC"
|
|
68 |
fi
|
|
69 |
- LDFLAGS="$LDFLAGS -rdynamic"
|
|
70 |
fi
|
|
71 |
|
|
72 |
else
|
|
73 |
diff -ur AfterStep-2.2.5-orig/libAfterBase/configure.in AfterStep-2.2.5/libAfterBase/configure.in
|
|
74 |
--- AfterStep-2.2.5-orig/libAfterBase/configure.in 2007-04-24 04:17:11.000000000 +0700
|
|
75 |
+++ AfterStep-2.2.5/libAfterBase/configure.in 2007-04-28 14:10:48.455016197 +0700
|
|
76 |
@@ -74,7 +74,6 @@
|
|
77 |
if test -z "`echo $CFLAGS | grep '\-fPIC' 2> /dev/null`" ; then
|
|
78 |
CFLAGS="$CFLAGS -fPIC"
|
|
79 |
fi
|
|
80 |
- LDFLAGS="$LDFLAGS -rdynamic"
|
|
81 |
fi
|
|
82 |
|
|
83 |
else
|
|
84 |
@@ -93,7 +92,6 @@
|
|
85 |
if test -z "`echo $CFLAGS | grep '\-fPIC' 2> /dev/null`" ; then
|
|
86 |
CFLAGS="$CFLAGS -fPIC"
|
|
87 |
fi
|
|
88 |
- LDFLAGS="$LDFLAGS -rdynamic"
|
|
89 |
fi
|
|
90 |
|
|
91 |
dnl# Add -g
|
|
92 |
diff -ur AfterStep-2.2.5-orig/libAfterImage/Makefile.in AfterStep-2.2.5/libAfterImage/Makefile.in
|
|
93 |
--- AfterStep-2.2.5-orig/libAfterImage/Makefile.in 2007-04-21 05:10:45.000000000 +0700
|
|
94 |
+++ AfterStep-2.2.5/libAfterImage/Makefile.in 2007-04-28 15:13:48.451534309 +0700
|
|
95 |
@@ -383,8 +383,8 @@
|
|
96 |
$(LN_S) -f $(LIB_SHARED).$(LIBVER) $(LIB_SHARED).$(LIBVERMAJOR)
|
|
97 |
|
|
98 |
$(LIB_SHARED).$(LIBVER): $(LIB_OBJS) $(LIB_INCS) config.h
|
|
99 |
- $(CC) -shared -Wl,-soname,$(LIB_SHARED).$(LIBVERMAJOR) -o $(LIB_SHARED).$(LIBVER) \
|
|
100 |
- $(LIB_OBJS)
|
|
101 |
+ $(CC) -Wl,-G,-h,$(LIB_SHARED).$(LIBVERMAJOR) -o $(LIB_SHARED).$(LIBVER) \
|
|
102 |
+ $(LIB_OBJS) $(USER_LD_FLAGS) $(LIBRARIES)
|
|
103 |
|
|
104 |
install.man:
|
|
105 |
@if [ -d doc/man ] ; then \
|
|
106 |
diff -ur AfterStep-2.2.5-orig/libAfterImage/configure AfterStep-2.2.5/libAfterImage/configure
|
|
107 |
--- AfterStep-2.2.5-orig/libAfterImage/configure 2007-04-24 04:17:11.000000000 +0700
|
|
108 |
+++ AfterStep-2.2.5/libAfterImage/configure 2007-04-28 15:14:57.935903505 +0700
|
|
109 |
@@ -2628,7 +2628,6 @@
|
|
110 |
if test -z "`echo $CFLAGS | grep '\-fPIC' 2> /dev/null`" ; then
|
|
111 |
CFLAGS="$CFLAGS -fPIC"
|
|
112 |
fi
|
|
113 |
- LDFLAGS="$LDFLAGS -rdynamic"
|
|
114 |
fi
|
|
115 |
|
|
116 |
|
|
117 |
diff -ur AfterStep-2.2.5-orig/libAfterImage/configure.in AfterStep-2.2.5/libAfterImage/configure.in
|
|
118 |
--- AfterStep-2.2.5-orig/libAfterImage/configure.in 2007-04-24 04:17:12.000000000 +0700
|
|
119 |
+++ AfterStep-2.2.5/libAfterImage/configure.in 2007-04-28 14:09:53.534088916 +0700
|
|
120 |
@@ -75,7 +75,6 @@
|
|
121 |
if test -z "`echo $CFLAGS | grep '\-fPIC' 2> /dev/null`" ; then
|
|
122 |
CFLAGS="$CFLAGS -fPIC"
|
|
123 |
fi
|
|
124 |
- LDFLAGS="$LDFLAGS -rdynamic"
|
|
125 |
fi
|
|
126 |
|
|
127 |
|