Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Dec 2011 15:43:18 -0800
From:      Oleksandr Tymoshenko <gonzo@freebsd.org>
Cc:        svn-src-stable@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   Re: svn commit: r228294 - stable/8/share/mk
Message-ID:  <4EDD5716.6030006@freebsd.org>
In-Reply-To: <201112052329.pB5NTRJV062800@svn.freebsd.org>
References:  <201112052329.pB5NTRJV062800@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Sorry for short comment. It was editor glitch :(

Proper comment is:

Unbreak 8-STABLE build. LDFLAGS is used as an argument for both
ld (in kmod.mk) and cc when it acts as a linker. In latter case
cc properly passes byte-order settings to ld so there is no need
for -Wl, part.

On 05/12/2011 3:29 PM, Oleksandr Tymoshenko wrote:
> Author: gonzo
> Date: Mon Dec  5 23:29:27 2011
> New Revision: 228294
> URL: http://svn.freebsd.org/changeset/base/228294
>
> Log:
>    Unbreak
>
> Modified:
>    stable/8/share/mk/bsd.cpu.mk
>
> Modified: stable/8/share/mk/bsd.cpu.mk
> ==============================================================================
> --- stable/8/share/mk/bsd.cpu.mk	Mon Dec  5 22:55:52 2011	(r228293)
> +++ stable/8/share/mk/bsd.cpu.mk	Mon Dec  5 23:29:27 2011	(r228294)
> @@ -242,11 +242,11 @@ LD += -EB
>   .if ${MACHINE_ARCH} == "mips"
>   . if defined(TARGET_BIG_ENDIAN)
>   CFLAGS += -EB
> -LDFLAGS += -Wl,-EB
> +LDFLAGS += -EB
>   LD += -EB
>   . else
>   CFLAGS += -EL
> -LDFLAGS += -Wl,-EL
> +LDFLAGS += -EL
>   LD += -EL
>   . endif
>   CFLAGS += -msoft-float -G0 -mno-dsp -mabicalls
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EDD5716.6030006>