1 |
hasufell 12/06/17 17:10:39 |
2 |
|
3 |
Added: udevil-0.2.8-flags.patch |
4 |
Log: |
5 |
initial import with Elijah El Lazkani |
6 |
|
7 |
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 sys-apps/udevil/files/udevil-0.2.8-flags.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/udevil/files/udevil-0.2.8-flags.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/udevil/files/udevil-0.2.8-flags.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: udevil-0.2.8-flags.patch |
16 |
=================================================================== |
17 |
From: Elijah El Lazkani <ThyArmageddon+Gentoo@×××××.com> |
18 |
Date: Wed Jun 13 22:45:09 UTC 2012 |
19 |
Subject: Removing explicit LDFLAGS and CPPFLAGS |
20 |
|
21 |
--- configure.ac |
22 |
+++ configure.ac |
23 |
@@ -16,42 +16,6 @@ |
24 |
AC_DEFINE_UNQUOTED(UDEVIL_VERSION, "$VERSION", [udevil version]) |
25 |
|
26 |
|
27 |
-dnl linker optimizations |
28 |
-AC_MSG_CHECKING([whether $LD accepts --as-needed]) |
29 |
-case `$LD --as-needed -v 2>&1 </dev/null` in |
30 |
-*GNU* | *'with BFD'*) |
31 |
- LDFLAGS="$LDFLAGS -Wl,--as-needed" |
32 |
- AC_MSG_RESULT([yes]) |
33 |
- ;; |
34 |
-*) |
35 |
- AC_MSG_RESULT([no]) |
36 |
- ;; |
37 |
-esac |
38 |
-AC_MSG_CHECKING([whether $LD accepts -O1]) |
39 |
-case `$LD -O1 -v 2>&1 </dev/null` in |
40 |
-*GNU* | *'with BFD'*) |
41 |
- LDFLAGS="$LDFLAGS -Wl,-O1" |
42 |
- AC_MSG_RESULT([yes]) |
43 |
- ;; |
44 |
-*) |
45 |
- AC_MSG_RESULT([no]) |
46 |
- ;; |
47 |
-esac |
48 |
-AC_MSG_CHECKING([whether $LD accepts -Bsymbolic-functions]) |
49 |
-case `$LD -Bsymbolic-functions -v 2>&1 </dev/null` in |
50 |
-*GNU* | *'with BFD'*) |
51 |
- LDFLAGS="$LDFLAGS -Wl,-Bsymbolic-functions" |
52 |
- AC_MSG_RESULT([yes]) |
53 |
- ;; |
54 |
-*) |
55 |
- AC_MSG_RESULT([no]) |
56 |
- ;; |
57 |
-esac |
58 |
- |
59 |
-dnl advanced compiler tweaking |
60 |
-CPPFLAGS="$CPPFLAGS -fstrict-aliasing -fmessage-length=0" |
61 |
- |
62 |
- |
63 |
# program paths |
64 |
AC_ARG_WITH(mount-prog, |
65 |
AC_HELP_STRING([--with-mount-prog=PATH], [Path to mount program (default: /bin/mount)]), |
66 |
--- src/Makefile.am |
67 |
+++ src/Makefile.am |
68 |
@@ -16,8 +16,7 @@ |
69 |
|
70 |
udevil_CFLAGS = \ |
71 |
@GLIB_CFLAGS@ \ |
72 |
- @LIBUDEV_CFLAGS@ \ |
73 |
- -Werror-implicit-function-declaration |
74 |
+ @LIBUDEV_CFLAGS@ |
75 |
|
76 |
udevil_LDADD = \ |
77 |
$(INTLLIBS) \ |