jdk8: add cflags to fix build w/gcc6
This commit is contained in:
parent
ceed8ad8a1
commit
43cea71d5b
@ -98,6 +98,10 @@ let
|
|||||||
substituteInPlace configure --replace /bin/bash "$shell"
|
substituteInPlace configure --replace /bin/bash "$shell"
|
||||||
substituteInPlace hotspot/make/linux/adlc_updater --replace /bin/sh "$shell"
|
substituteInPlace hotspot/make/linux/adlc_updater --replace /bin/sh "$shell"
|
||||||
substituteInPlace hotspot/make/linux/makefiles/dtrace.make --replace /usr/include/sys/sdt.h "/no-such-path"
|
substituteInPlace hotspot/make/linux/makefiles/dtrace.make --replace /usr/include/sys/sdt.h "/no-such-path"
|
||||||
|
''
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1306558
|
||||||
|
+ stdenv.lib.optionalString stdenv.cc.isGNU ''
|
||||||
|
NIX_CFLAGS_COMPILE+=" -fno-lifetime-dse -fno-delete-null-pointer-checks"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user