[Lunar-commits] <moonbase> libcaca: Add bad_flags for --as-needed.

Jannis Pohlmann jannis at lunar-linux.org
Mon Mar 9 18:21:11 CET 2009


commit 4efc51cd496dc133d524ebcbe5c5b4eb196f208e
Author: Jannis Pohlmann <jannis at lunar-linux.org>
Date:   Mon Mar 9 18:21:11 2009 +0100

    libcaca: Add bad_flags for --as-needed.
---
 graphics/libcaca/BUILD |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/graphics/libcaca/BUILD b/graphics/libcaca/BUILD
index f96cd98..75df880 100644
--- a/graphics/libcaca/BUILD
+++ b/graphics/libcaca/BUILD
@@ -1,6 +1,10 @@
 (
   
   OPTS="$OPTS --disable-debug --disable-doc"
+
+  bad_flags "-Wl,-O1,--as-needed" &&
+  bad_flags "-Wl,--as-needed" &&
+
   default_build
 
 ) > $C_FIFO 2>&1


More information about the Lunar-commits mailing list