Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Mar 2019 04:26:51 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r495540 - head/devel/clthreads/files
Message-ID:  <201903130426.x2D4Qpgf025783@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Wed Mar 13 04:26:51 2019
New Revision: 495540
URL: https://svnweb.freebsd.org/changeset/ports/495540

Log:
  Fix build on gcc-based architectures:
  
    cc1plus: error: unrecognized command line option "-march=native"
  
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/devel/clthreads/files/patch-Makefile

Modified: head/devel/clthreads/files/patch-Makefile
==============================================================================
--- head/devel/clthreads/files/patch-Makefile	Wed Mar 13 04:20:42 2019	(r495539)
+++ head/devel/clthreads/files/patch-Makefile	Wed Mar 13 04:26:51 2019	(r495540)
@@ -13,7 +13,15 @@
  
  
  MAJVERS = 2
-@@ -45,17 +45,15 @@ CLTHREADS_DEP = -lpthread
+@@ -33,7 +33,6 @@ VERSION = $(MAJVERS).$(MINVERS)
+ 
+ CPPFLAGS += -DVERSION=\"$(VERSION)\" -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I.  
+ CXXFLAGS += -Wall -O2 -fPIC
+-CXXFLAGS += -march=native
+ LDLFAGS += 
+ LDLIBS +=
+ 
+@@ -45,17 +44,15 @@ CLTHREADS_DEP = -lpthread
  CLTHREADS_O = p_thread.o a_thread.o itc_mesg.o itc_ip1q.o itc_ctrl.o textmsg.o
  CLTHREADS_H = clthreads.h
  



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