openjdk: Fix a cross problem

38eea804e6c02542085c9f232cdd699d96c95a23 dropped the C and C++ compiler prefixes. Probably more work is needed to make cross work, but this at least helps preserve/establish the pattern.
This commit is contained in:
John Ericson 2018-08-20 04:10:59 -04:00 committed by Vladimír Čunát
parent 440ac01e5a
commit cfa4e0ac14
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -110,8 +110,8 @@ let
# The configure script was confused by our passing these with full paths, # The configure script was confused by our passing these with full paths,
# so we explicitly override them to short variants. # so we explicitly override them to short variants.
+ '' + ''
CC=cc CC=${stdenv.cc.targetPrefix}cc
CXX=c++ CXX=${stdenv.cc.targetPrefix}c++
''; '';
configureFlags = [ configureFlags = [