Skip to content

Commit

Permalink
openjdk: Fix a cross problem
Browse files Browse the repository at this point in the history
38eea80 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.
  • Loading branch information
John Ericson authored and vcunat committed Aug 20, 2018
1 parent 440ac01 commit cfa4e0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/development/compilers/openjdk/8.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit cfa4e0a

Please sign in to comment.