1 |
Author: zmedico |
2 |
Date: 2008-03-24 23:14:37 +0000 (Mon, 24 Mar 2008) |
3 |
New Revision: 9503 |
4 |
|
5 |
Modified: |
6 |
main/trunk/bin/ebuild.sh |
7 |
Log: |
8 |
Bug #214499 - When compiler flags are unset, many packages will substitute |
9 |
their own implicit flags. For uniformity, use an empty string as the default. |
10 |
|
11 |
|
12 |
Modified: main/trunk/bin/ebuild.sh |
13 |
=================================================================== |
14 |
--- main/trunk/bin/ebuild.sh 2008-03-24 23:05:00 UTC (rev 9502) |
15 |
+++ main/trunk/bin/ebuild.sh 2008-03-24 23:14:37 UTC (rev 9503) |
16 |
@@ -273,6 +273,12 @@ |
17 |
export DIROPTIONS="-m0755" |
18 |
export MOPREFIX=${PN} |
19 |
|
20 |
+# When compiler flags are unset, many packages will substitute their own |
21 |
+# implicit flags. For uniformity, use an empty string as the default. |
22 |
+[ "${CFLAGS-unset}" == "unset" ] && export CFLAGS="" |
23 |
+[ "${CXXFLAGS-unset}" == "unset" ] && export CXXFLAGS="" |
24 |
+[ "${LDFLAGS-unset}" == "unset" ] && export LDFLAGS="" |
25 |
+ |
26 |
check_KV() { |
27 |
if [ -z "${KV}" ]; then |
28 |
eerror "" |
29 |
|
30 |
-- |
31 |
gentoo-commits@l.g.o mailing list |