3
0
Fork 0
forked from mirrors/nixpkgs

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 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,
# so we explicitly override them to short variants.
+ ''
CC=cc
CXX=c++
CC=${stdenv.cc.targetPrefix}cc
CXX=${stdenv.cc.targetPrefix}c++
'';
configureFlags = [