Date: Sat, 12 Oct 2013 23:38:22 GMT From: Tassilo Philipp <tphilipp@potion-studios.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/182939: [maintainer-update] clang fix for devel/psptoolchain-gdb Message-ID: <201310122338.r9CNcMWQ021481@oldred.freebsd.org> Resent-Message-ID: <201310122340.r9CNe0Xg050380@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 182939 >Category: ports >Synopsis: [maintainer-update] clang fix for devel/psptoolchain-gdb >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Oct 12 23:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Tassilo Philipp >Release: 9.1-RELEASE >Organization: >Environment: >Description: Linker flag for clang build - seems like INLINE doesn't work, ignoring multiple defs should be safe, here >How-To-Repeat: Build port with following in /etc/make.conf: CC=clang CXX=clang++ CPP=clang-cpp >Fix: Apply following patch to devel/psptoolchain-gdb/Makefile: --- ./Makefile.orig 2013-10-12 18:23:39.000000000 -0500 +++ ./Makefile 2013-10-12 18:24:09.000000000 -0500 @@ -24,6 +24,8 @@ --disable-install-libiberty \ --mandir=${PREFIX}/man +LDFLAGS+= -Wl,--allow-multiple-definition + MAN1= psp-gdb.1 \ psp-gdbtui.1 \ psp-run.1 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310122338.r9CNcMWQ021481>