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

gnu: icedtea6: patch hardcoded objcopy path.

* gnu/packages/java.scm (icedtea6)[arguments]: patch Makefile to override
  DEF_OBJCOPY variable definition.
parent f9e62ad2
No related branches found
No related tags found
No related merge requests found
...@@ -227,7 +227,9 @@ (define-public icedtea6 ...@@ -227,7 +227,9 @@ (define-public icedtea6
(string-append "DEVTOOLS_PATH = " corebin)) (string-append "DEVTOOLS_PATH = " corebin))
(("COMPILER_PATH *= */usr/bin/") (("COMPILER_PATH *= */usr/bin/")
(string-append "COMPILER_PATH = " (string-append "COMPILER_PATH = "
(assoc-ref %build-inputs "gcc") "/bin/"))) (assoc-ref %build-inputs "gcc") "/bin/"))
(("DEF_OBJCOPY *=.*objcopy")
(string-append "DEF_OBJCOPY = " (which "objcopy"))))
;; fix hard-coded utility paths ;; fix hard-coded utility paths
(substitute* '("openjdk/jdk/make/common/shared/Defs-utils.gmk" (substitute* '("openjdk/jdk/make/common/shared/Defs-utils.gmk"
......
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