Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-alt
On Saturday 17 January 2009 17:28:36 C. Bergström wrote:
> libsandbox/Makefile.in
> libsandbox_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
> $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libsandbox_la_CFLAGS) \
> - $(CFLAGS) $(libsandbox_la_LDFLAGS) $(LDFLAGS) -o $@
> + $(CFLAGS) $(libsandbox_la_LDFLAGS) -M libsandbox.map $(LDFLAGS)
> ...
> libsandbox_la_LDFLAGS = \
> -no-undefined \
> - -nodefaultlibs \
> - -Wl,--version-script,libsandbox.map
> + -nodefaultlibs
cant you just change the libsandbox_la_LDFLAGS definition rather than both
places ? does opensolaris' linker accept -Wl,-Map,libsandbox.map ?
> configure
> @@ -23460,6 +23460,7 @@
> LIBC_PATH=$(
> $AWK '/attempt to open/ { if (($4 ~ /\/libc\.so/) && ($5 ==
> "succeeded")) LIBC = $4; }; END {print LIBC}' libctest.log
> )
> +LIBC_PATH=/lib/amd64/libc.so
please figure out an equivalent method then. look up a few lines to where we
run $CC with -Wl,-verbose in order to get the linking trace, and then we use
that to figure out the libc.so path.
> -$CC $CFLAGS $CPPFLAGS $LDFLAGS -Wall -o libctest libctest.c
> +$CC $CFLAGS $CPPFLAGS $LDFLAGS -o libctest libctest.c
yeah, -Wall here is pointless so i can drop that
> if test "$GCC" = yes; then
> - CFLAGS="$CFLAGS -Wall"
> + CFLAGS="$CFLAGS "
> fi
why ? if you're using GCC, then -Wall should work fine
-mike
|
|