openjdk: Fix a cross problem

38eea804e6 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 10:16:17 +02:00
committed by Vladimír Čunát
parent 440ac01e5a
commit cfa4e0ac14
+2 -2
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 = [