/usr/src/gcc-4.6/debian/patches/libjava-disable-static.diff is in gcc-4.6-source 4.6.4-6ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | # DP: Disable building the static libjava.
---
Makefile.in | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -53956,7 +53956,7 @@
rm -f no-such-file || : ; \
CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
$(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
- --target=${target_alias} $${srcdiroption} \
+ --target=${target_alias} --disable-static $${srcdiroption} \
|| exit 1
@endif target-libjava
@@ -54870,7 +54870,7 @@
rm -f no-such-file || : ; \
CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
$(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
- --target=${target_alias} $${srcdiroption} \
+ --target=${target_alias} --disable-static $${srcdiroption} \
|| exit 1
@endif target-boehm-gc
|