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:
parent
440ac01e5a
commit
cfa4e0ac14
@ -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 = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user