Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Feb 2021 16:27:15 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r566307 - head/www/mathopd
Message-ID:  <202102221627.11MGRFO4057624@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste (src committer)
Date: Mon Feb 22 16:27:14 2021
New Revision: 566307
URL: https://svnweb.freebsd.org/changeset/ports/566307

Log:
  www/mathopd: Fix build with default PIE
  
  Mathopd Makefile passed CFLAGS in MAKE_ENV variable. This caused CFLAGS
  processing in bsd.prog.mk to be ignored, which in turn left non-PIE CFLAGS
  from sys.mk and LDFLAGS with PIE enabled from bsd.prog.mk.
  
  PR:		253275 [exp-run]
  Submitted by:	Dawid Górecki <dgr@semihalf.com>
  Approved by:	lwhsu, Michiel Boland [maintainer]
  Differential Revision:	https://reviews.freebsd.org/D28793

Modified:
  head/www/mathopd/Makefile

Modified: head/www/mathopd/Makefile
==============================================================================
--- head/www/mathopd/Makefile	Mon Feb 22 15:39:10 2021	(r566306)
+++ head/www/mathopd/Makefile	Mon Feb 22 16:27:14 2021	(r566307)
@@ -13,7 +13,6 @@ COMMENT=	Small, yet fast HTTP server
 LICENSE=	BSD3CLAUSE
 
 CFLAGS+=	-DFREEBSD_SENDFILE
-MAKE_ARGS=	CFLAGS="${CFLAGS}"
 
 OPTIONS_DEFINE=	DOCS
 



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