summaryrefslogtreecommitdiff
path: root/games-emulation/advancemame/files/advancemame-3.7-remove_static_configure_option.patch
blob: 342ba1c5c07a0f83b0fcbbc255366b5509457894 (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
40
41
From 890af36a3939f0978af779caa878ddeb44183d8d Mon Sep 17 00:00:00 2001
From: Andrea Mazzoleni <amadvance@gmail.com>
Date: Tue, 8 May 2018 19:32:44 +0200
Subject: [PATCH 3/3] Remove the --enable-static configure option

I doubt it still work and it doesn't make sense anymore.
---
 configure.ac | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/configure.ac b/configure.ac
index 4e609993..1c94e037 100644
--- a/configure.ac
+++ b/configure.ac
@@ -139,13 +139,6 @@ AC_ARG_ENABLE(
 )
 AC_SUBST([CONF_DEBUG],[$ac_enable_debug])
 
-AC_ARG_ENABLE(
-	[static],
-	AC_HELP_STRING([--enable-static],[enable static compilation. (default no)]),
-	[ac_enable_static=$enableval],
-	[ac_enable_static=no]
-)
-
 AC_ARG_ENABLE(
 	[bare],
 	AC_HELP_STRING([--enable-bare],[enable compilation without drivers. (default no)]),
@@ -232,9 +225,6 @@ if test $ac_auto_ldflags = yes ; then
 	else
 		LDFLAGS="-s"
 	fi
-	if test $ac_enable_static = yes ; then
-		LDFLAGS="-static $LDFLAGS"
-	fi
 	if test ! -z $ac_host_ldflags; then
 		LDFLAGS="$ac_host_ldflags $LDFLAGS"
 	fi
-- 
2.17.0