summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Sandall2010-10-05 12:15:43 -0700
committerGeorge Sherwood2010-10-09 09:41:47 -0500
commit2919064fe2f2cd64da8fda7ed6b5b9459fadc347 (patch)
tree27cd1d50f026680f864bd8de82eb48f9f9df4f67
parentb0022b6cad117f0266fc93c7c97aef094e4398a6 (diff)
pulseaudio: Fails to compile with -Wl,--as-needed in LDFLAGS
Fixes Bug #15307 (cherry picked from commit fba063c8ac2c21da655bba175623c7ddfe6d8649)
-rwxr-xr-xaudio-drivers/pulseaudio/BUILD1
-rw-r--r--audio-drivers/pulseaudio/HISTORY4
2 files changed, 5 insertions, 0 deletions
diff --git a/audio-drivers/pulseaudio/BUILD b/audio-drivers/pulseaudio/BUILD
index e656c6788d..ffdce6d392 100755
--- a/audio-drivers/pulseaudio/BUILD
+++ b/audio-drivers/pulseaudio/BUILD
@@ -1,2 +1,3 @@
OPTS="$PULSE_OSS $OPTS" &&
+LDFLAGS="${LDFLAGS/-Wl,--as-needed}" &&
default_build
diff --git a/audio-drivers/pulseaudio/HISTORY b/audio-drivers/pulseaudio/HISTORY
index f8ea89faf8..91c16d6260 100644
--- a/audio-drivers/pulseaudio/HISTORY
+++ b/audio-drivers/pulseaudio/HISTORY
@@ -1,3 +1,7 @@
+2010-10-05 Eric Sandall <sandalle@sourcemage.org>
+ * BUILD: Fails to compile with -Wl,--as-needed in LDFLAGS
+ Fixes Bug #15307
+
2010-10-04 Eric Sandall <sandalle@sourcemage.org>
* DEPENDS: Clarify what some optional depends are for