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:
parent
440ac01e5a
commit
cfa4e0ac14
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue