[Lunar-commits] <moonbase-other> cairo: Adnother gcc-4.9 BUILD adjustment, covers a make failure if you say yes

Dennis Veatch dennisveatch at bellsouth.net
Sat Sep 13 00:13:26 CEST 2014


commit 075dae0a3e28c32aab2ac75c2b4690bb940ed14e
Author: Dennis Veatch <dennisveatch at bellsouth.net>
Date: Fri, 12 Sep 2014 18:12:08 -0400
URL: https://github.com/lunar-linux/moonbase-other/commit/075dae0a3e28c32aab2ac75c2b4690bb940ed14e

cairo: Adnother gcc-4.9 BUILD adjustment, covers a make failure if you say yes

to qt4. The cairo folks plan on removing lto in a near future release;

https://bugs.freedesktop.org/show_bug.cgi?id=77060
---
  graphics/cairo/BUILD | +2/-1     
  1 file changed, 2 insertions(+), 1 deletion(-)

--- a/graphics/cairo/BUILD
+++ b/graphics/cairo/BUILD
@@ -1,6 +1,7 @@
 
 # Needed to fix gcc-4.9 make failure
 CFLAGS+=" -fno-lto" &&
+CXXFLAGS+=" -fno-lto" &&
 
 OPTS+=" --disable-static" &&
 
@@ -13,5 +14,5 @@ if [ "`get_module_config DOCS`" = "n" ] ; then
 fi &&
 
 # LIBS is needed for cairo-sphinx and others with --as-needed
-LIBS="-lstdc++" \
+LIBS+=" -lstdc++" \
 default_build




More information about the Lunar-commits mailing list