Bug 234223

Summary: science/tinker: fix build with GCC-based architectures
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Yuri Victorovich <yuri>
Status: Closed FIXED    
Severity: Affects Only Me CC: linimon, pkubaj
Priority: --- Flags: bugzilla: maintainer-feedback? (yuri)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch none

Description Piotr Kubaj freebsd_committer 2018-12-20 17:06:01 UTC
Created attachment 200310 [details]
patch

This port adds -mssse3 to compilation flags, which breaks on GCC platforms.

Remove it, so it builds on them.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 Yuri Victorovich freebsd_committer 2018-12-21 01:11:07 UTC
I committed a more comprehensive patch that enables SIMD flags based on architecture.

Thanks for submitting this bug report.
Comment 2 commit-hook freebsd_committer 2018-12-21 01:11:53 UTC
A commit references this bug:

Author: yuri
Date: Fri Dec 21 01:11:01 UTC 2018
New revision: 487934
URL: https://svnweb.freebsd.org/changeset/ports/487934

Log:
  science/tinker: Fix build on non-Intel architectures by adding SSE flags based on architecture

  PR:		234223
  Reported by:	Piotr Kubaj <pkubaj@anongoth.pl>

Changes:
  head/science/tinker/Makefile
  head/science/tinker/files/patch-make_Makefile