Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Nov 2020 21:30:25 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r554323 - head/x11/xnotify
Message-ID:  <202011062130.0A6LUPiw075360@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Fri Nov  6 21:30:25 2020
New Revision: 554323
URL: https://svnweb.freebsd.org/changeset/ports/554323

Log:
  x11/xnotify: respect LDFLAGS
  
  $ CFLAGS=-fsanitize=address LDFLAGS=-fsanitize=address make
  [...]
  cc -o xnotify xnotify.o -L/usr/local/lib -L/usr/local/lib -lfontconfig -lXft -lX11 -lXinerama -lImlib2
  ld: error: undefined symbol: __asan_report_load8
  >>> referenced by xnotify.c:51
  >>>               xnotify.o:(usage)
  >>> referenced by xnotify.c:1082
  >>>               xnotify.o:(main)
  >>> referenced by xnotify.c:1082
  >>>               xnotify.o:(main)
  >>> referenced 172 more times

Modified:
  head/x11/xnotify/Makefile   (contents, props changed)

Modified: head/x11/xnotify/Makefile
==============================================================================
--- head/x11/xnotify/Makefile	Fri Nov  6 21:30:21 2020	(r554322)
+++ head/x11/xnotify/Makefile	Fri Nov  6 21:30:25 2020	(r554323)
@@ -18,6 +18,7 @@ USE_GITHUB=	yes
 USE_XORG=	x11 xft xinerama
 GH_ACCOUNT=	phillbush
 MAKE_ARGS=	CC="${CC}" CPPFLAGS="${CPPFLAGS} ${CFLAGS}" \
+		LDFLAGS="${LDFLAGS} \$${LIBS}" \
 		PREFIX="${PREFIX}" \
 		LOCALINC="${LOCALBASE}/include" \
 		LOCALLIB="${LOCALBASE}/lib" \



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