me
/
guix
Archived
1
0
Fork 0

gnu: icedtea6: patch hardcoded objcopy path.

* gnu/packages/java.scm (icedtea6)[arguments]: patch Makefile to override
  DEF_OBJCOPY variable definition.
master
Ricardo Wurmus 2015-03-10 14:00:55 +01:00
parent f9e62ad221
commit 6f27f3775e
1 changed files with 3 additions and 1 deletions

View File

@ -227,7 +227,9 @@ build process and its dependencies, whereas Make uses Makefile format.")
(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"