changeset 6329:7ed303fca376

Fix linux-ppc::cross/gcc libatomic and libgomp cannot be compiled. This commit can success following commands. bin/gub linux-ppc::hello bin/gub linux-ppc::lilypond bin/gub linux-ppc::lilypond-installer
author Masamichi Hosoda <trueroad@users.noreply.github.com>
date Sun, 01 Feb 2015 23:14:12 +0900
parents 25f5df644166
children fb79d13ed8a5
files gub/specs/cross/gcc.py
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gub/specs/cross/gcc.py	Sun Feb 01 22:50:08 2015 +0900
+++ b/gub/specs/cross/gcc.py	Sun Feb 01 23:14:12 2015 +0900
@@ -91,6 +91,13 @@
 
 Gcc__linux = Gcc__from__source
 
+class Gcc__linux__ppc (Gcc__linux):
+    configure_flags = (Gcc__linux.configure_flags
+                + misc.join_lines ('''
+--disable-libatomic
+--disable-libgomp
+'''))
+
 class Gcc__mingw (Gcc):
     dependencies = (Gcc.dependencies
                 + ['mingw-w64-runtime']