[PATCH] enable -z defs usage on all Linux targets
Diego 'Flameeyes' Pettenò
flameeyes at gmail.com
Wed May 23 20:00:25 UTC 2007
The gmk file currnetly allow usage of -z defs as LDFLAGS only for
arches that are not PPC and are not 64-bit, without any comment on why
this happens; counting that PPC Linux does not seem to be supported by
OpenJDK anyway at the moment, -z defs works *mostly* fine on AMD64
Linux.
Where mostly is referred to demos that links using gcc even when the
source code is C++, using the LIBCXX variable to fix the link; this
works fine, unless you use STATIC_CXX=false at build time to use
runtime link to libstdc++.
The attached patch removes the conditionals and fixes the libstdc++
build, allowing a safer build with -z defs enabled even on amd64.
--
Diego "Flameeyes" Pettenò
http://farragut.flameeyes.is-a-geek.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openjdk-noundef.patch
Type: text/x-patch
Size: 857 bytes
Desc: not available
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20070523/653b7a07/openjdk-noundef.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20070523/653b7a07/signature.asc>
More information about the build-dev
mailing list