gnu: icedtea6: patch hardcoded objcopy path.
* gnu/packages/java.scm (icedtea6)[arguments]: patch Makefile to override DEF_OBJCOPY variable definition.master
parent
f9e62ad221
commit
6f27f3775e
|
@ -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"
|
||||||
|
|
Reference in New Issue