Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jul 2015 02:55:54 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r392766 - branches/2015Q3/Mk
Message-ID:  <201507240255.t6O2tsFZ012887@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Fri Jul 24 02:55:53 2015
New Revision: 392766
URL: https://svnweb.freebsd.org/changeset/ports/392766

Log:
  MFH: r392290
  
  bsd.gecko.mk: PowerPC no longer needs the __STDC_CONSTANT_MACROS in CFLAGS
  
  sys/cdefs.h after base r227475 always defines __STDC_CONSTANT_MACROS
  for C++11 while Firefox enforces C++11 since 25.0 and also defines
  __STDC_CONSTANT_MACROS via mozilla-config.h since 26.0.
  
  As Firefox 38.0 enables -pedantic-errors this breaks build. So, remove
  the dup to unbreak build on powerpc and powerpc64.
  
  PR:		201294
  Submitted by:	jhibbits
  Approved by:	ports-secteam (feld)

Modified:
  branches/2015Q3/Mk/bsd.gecko.mk
Directory Properties:
  branches/2015Q3/   (props changed)

Modified: branches/2015Q3/Mk/bsd.gecko.mk
==============================================================================
--- branches/2015Q3/Mk/bsd.gecko.mk	Fri Jul 24 00:50:39 2015	(r392765)
+++ branches/2015Q3/Mk/bsd.gecko.mk	Fri Jul 24 02:55:53 2015	(r392766)
@@ -448,7 +448,6 @@ LIBS+=		-lcxxrt
 . endif
 .elif ${ARCH:Mpowerpc*}
 USES:=		compiler:gcc-c++11-lib ${USES:Ncompiler*c++11*}
-CFLAGS+=	-D__STDC_CONSTANT_MACROS
 . if ${ARCH} == "powerpc64"
 MOZ_EXPORT+=	UNAME_m="${ARCH}"
 CFLAGS+=	-mminimal-toc



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