Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Mar 2021 12:20:33 +0100
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        Piotr Kubaj <pkubaj@anongoth.pl>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r567405 - in head/games/0ad: . files
Message-ID:  <79628989-f040-9caf-40a5-ff7ec30be2e2@FreeBSD.org>
In-Reply-To: <YEKQ0TthL1os3MGj@KGPE-D16>
References:  <202103051851.125IpWM7053002@repo.freebsd.org> <YEKQ0TthL1os3MGj@KGPE-D16>

next in thread | previous in thread | raw e-mail | index | archive | help
On 05/03/21 21:13, Piotr Kubaj wrote:
> On 21-03-05 18:51:32, Guido Falsi wrote:
>> Author: madpilot
>> Date: Fri Mar  5 18:51:31 2021
>> New Revision: 567405
>> URL: https://svnweb.freebsd.org/changeset/ports/567405
>>
>> Log:
>>    - Import patches for powerpc64le
>>    - Force the -msse2 option only for i386 where it is actually needed
>>    
>>    PR:		253924
>>    Submitted by:	pkubaj@
>>
>> Added:
>>    head/games/0ad/files/patch-libraries_source_nvtt_src_src_nvcore_Debug.cpp   (contents, props changed)
>>    head/games/0ad/files/patch-source_lib_byte__order.h   (contents, props changed)
>>    head/games/0ad/files/patch-source_lib_sysdep_arch.h   (contents, props changed)
>>    head/games/0ad/files/patch-source_lib_sysdep_arch_ppc64_ppc64.cpp   (contents, props changed)
>>    head/games/0ad/files/patch-source_ps_GameSetup_HWDetect.cpp   (contents, props changed)
>> Modified:
>>    head/games/0ad/Makefile
>>    head/games/0ad/files/patch-build_premake_premake5.lua
>>
>> Modified: head/games/0ad/Makefile
>> ==============================================================================
>> --- head/games/0ad/Makefile	Fri Mar  5 18:28:34 2021	(r567404)
>> +++ head/games/0ad/Makefile	Fri Mar  5 18:51:31 2021	(r567405)
>> @@ -45,7 +45,6 @@ WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}-alpha
>>   BUILD_WRKSRC=	${WRKSRC}/build/workspaces/gcc
>>   MAKE_ARGS=	config=release verbose=1
>>   CPPFLAGS+=	-DU_USING_ICU_NAMESPACE=1
>> -CFLAGS+=	-msse2
>>   BUNDLE_LIBS=	yes
>>   DOS2UNIX_REGEX=	.*\.([ch]p{0,2}|make)
>>   BINARY_ALIAS=	python3=${PYTHON_CMD}
>> @@ -57,6 +56,10 @@ MAKE_ENV+=	JOBS=${_MAKE_JOBS}
>>   PORTDATA=	*
>>   
>>   .include <bsd.port.pre.mk>
>> +
>> +.if ${ARCH} == i386
>> +CFLAGS+=	-msse2
>> +.endif
> 
> Instead of this, you could just set:
> CFLAGS_i386=	-msse2
> right below CPPFLAGS+=	-DU_USING_ICU_NAMESPACE=1
> 

Done, thanks for the suggestion!

-- 
Guido Falsi <madpilot@FreeBSD.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?79628989-f040-9caf-40a5-ff7ec30be2e2>