summaryrefslogtreecommitdiffstats
path: root/0005-use-avoid-version-if-not-tracking-SO-version.patch
blob: 3dcd84df22e0f5d3f4f9dc41e33528e93bfad289 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
From 3dc7b3621f887de9ed4993af86f512f028c71975 Mon Sep 17 00:00:00 2001
From: Jonathan Yong <10walls@gmail.com>
Date: Sat, 28 Jun 2014 08:45:53 +0800
Subject: [PATCH 05/24] use -avoid-version if not tracking SO version

---
 libjava/classpath/configure    | 2 +-
 libjava/classpath/configure.ac | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libjava/classpath/configure b/libjava/classpath/configure
index bcb5bff..ac49367 100755
--- a/libjava/classpath/configure
+++ b/libjava/classpath/configure
@@ -3180,7 +3180,7 @@ case "$host_os" in
 	cp_module=""
 	;;
 	*)
-	cp_module="-module"
+	cp_module="-module -avoid-version"
 	;;
 esac
 
diff --git a/libjava/classpath/configure.ac b/libjava/classpath/configure.ac
index d120b5b..f59e599 100644
--- a/libjava/classpath/configure.ac
+++ b/libjava/classpath/configure.ac
@@ -64,7 +64,7 @@ case "$host_os" in
 	cp_module=""
 	;;
 	*)
-	cp_module="-module"
+	cp_module="-module -avoid-version"
 	;;
 esac
 
-- 
2.1.1