SHA256
1
0
forked from pool/tigervnc

Accepting request 523228 from home:fstrba:branches:X11:XOrg

Fix build with java 9

OBS-URL: https://build.opensuse.org/request/show/523228
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/tigervnc?expand=0&rev=118
This commit is contained in:
Michal Srb 2017-09-12 06:43:25 +00:00 committed by Git OBS Bridge
parent 168d40a71c
commit f1e184ebab
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 11 14:12:30 UTC 2017 - fstrba@suse.com
- Specify java source and target level 1.6 in order to be able to
build with jdk9
-------------------------------------------------------------------
Fri Aug 11 08:59:54 UTC 2017 - msrb@suse.com

View File

@ -222,7 +222,7 @@ popd
# Build java client
pushd java
cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DJAVACFLAGS="-encoding utf8"
cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DJAVACFLAGS="-encoding utf8 -source 1.6 -target 1.6"
make %{?_smp_mflags}
popd