Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Dec 2014 13:55:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 196155] graphics/freeglut: fix build on mips, remove .la file, strip library
Message-ID:  <bug-196155-7141-1maKUyMVlX@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-196155-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-196155-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Dmitry Marakasov <amdmi3@FreeBSD.org> has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'s request for maintainer-feedback to x11@FreeBSD.org:
Bug 196155: graphics/freeglut: fix build on mips, remove .la file, strip
library
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196155



--- Description ---
Created attachment 150801
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=150801&action=edit
Patch

Freeglut doesn't build on MIPS (full log attached):

/usr/bin/ld: undefined reference to symbol `sin@@FBSD_1.0' (try adding -lm)
//lib/libm.so.5: could not read symbols: Bad value

Adding -lm to LDFLAGS fixes this.

While here, drop .la file and strip library.

--- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> ---
Auto-assigned to maintainer x11@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196155-7141-1maKUyMVlX>