summaryrefslogtreecommitdiffstats
path: root/0005-use-avoid-version-if-not-tracking-SO-version.patch
blob: 32edb2ddfef9dc4c82f2d00e50c78d30e46692c2 (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 562f01f9f740937c28d59ce37770a07716039d52 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/21] 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 6d46403..801f6ec 100755
--- a/libjava/classpath/configure
+++ b/libjava/classpath/configure
@@ -3181,7 +3181,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 245e1df..5c6f229 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.4.5