svn commit: r495540 - head/devel/clthreads/files
Mark Linimon
linimon at FreeBSD.org
Wed Mar 13 04:26:52 UTC 2019
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
More information about the svn-ports-all
mailing list