Skip to content
Snippets Groups Projects
Commit 5f6887e8 authored by Ricardo Wurmus's avatar Ricardo Wurmus
Browse files

gnu: gcj: Remove broken symlink and conflicting files.

* gnu/packages/gcc.scm (gcj)[arguments]: Add a build phase to remove a broken
  symlink and generic stump binaries.
parent 0272ee49
No related branches found
No related tags found
No related merge requests found
...@@ -444,7 +444,18 @@ (define-public gcj-4.8 ...@@ -444,7 +444,18 @@ (define-public gcj-4.8
(string-append jvm "/lib/tools.jar"))) (string-append jvm "/lib/tools.jar")))
(chmod target #o755) (chmod target #o755)
#t)) #t))
,phases)))))) (alist-cons-after
'install 'remove-broken-or-conflicting-files
(lambda _
(let ((out (assoc-ref %outputs "out")))
(for-each
delete-file
(append (find-files (string-append out "/lib/jvm/jre/lib")
"libjawt.so")
(find-files (string-append out "/bin")
".*(c\\+\\+|cpp|g\\+\\+|gcc.*)"))))
#t)
,phases)))))))
(define ecj-bootstrap-4.8 (define ecj-bootstrap-4.8
(origin (origin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment