summaryrefslogtreecommitdiffstats
path: root/java/openjdk12/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'java/openjdk12/BUILD')
-rwxr-xr-xjava/openjdk12/BUILD18
1 files changed, 18 insertions, 0 deletions
diff --git a/java/openjdk12/BUILD b/java/openjdk12/BUILD
new file mode 100755
index 0000000000..9a1130d5ba
--- /dev/null
+++ b/java/openjdk12/BUILD
@@ -0,0 +1,18 @@
+cd "$SOURCE_DIRECTORY" &&
+NOWARN="-Wno-error=stringop-truncation"
+NOWARN+=" -Wno-error=format-overflow"
+NOWARN+=" -Wno-error=class-memaccess"
+NOWARN+=" -Wno-error=stringop-overflow"
+NOWARN+=" -Wno-error=implicit-fallthrough"
+NOWARN+=" -Wno-error=cast-function-type"
+NOWARN+=" -Wno-error=missing-attributes"
+NOWARN+=" -Wno-error=format-truncation"
+AUTOCONF=/usr/bin/autoconf bash configure \
+ --with-vendor-name="Source Mage GNU/Linux" \
+ --with-vendor-url="http://www.sourcemage.org" \
+ --with-vendor-bug-url="http://bugs.sourcemage.org" \
+ --with-extra-cflags="$CFLAGS $NOWARN" \
+ --with-extra-cxxflags="$CXXFLAGS $NOWARN" \
+ --with-extra-ldflags="$LDFLAGS" \
+ $OPTS --with-memory-size=1024 &&
+make images