Date: Tue, 27 Dec 2016 09:59:18 +0000 (UTC) From: Li-Wen Hsu <lwhsu@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r429589 - head/lang/julia/files Message-ID: <201612270959.uBR9xI43018153@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: lwhsu Date: Tue Dec 27 09:59:18 2016 New Revision: 429589 URL: https://svnweb.freebsd.org/changeset/ports/429589 Log: - Respect CC, CXX, FC PR: 215565 Submitted by: Yunchih Chen <yunchih.cat@gmail.com> Approved by: Iblis Lin <iblis@hs.ntnu.edu.tw> (maintainer) Modified: head/lang/julia/files/patch-Make.inc Modified: head/lang/julia/files/patch-Make.inc ============================================================================== --- head/lang/julia/files/patch-Make.inc Tue Dec 27 09:52:13 2016 (r429588) +++ head/lang/julia/files/patch-Make.inc Tue Dec 27 09:59:18 2016 (r429589) @@ -31,7 +31,25 @@ build_man1dir := $(build_mandir)/man1 build_includedir := $(build_prefix)/include build_sysconfdir := $(build_prefix)/etc -@@ -400,7 +395,7 @@ JCFLAGS := -pipe $(fPIC) -fno-strict-ali +@@ -340,7 +335,7 @@ endif + ifeq ($(USEIFC), 1) + FC := ifort + else +-FC := $(CROSS_COMPILE)gfortran ++FC ?= $(CROSS_COMPILE)gfortran + endif + + STDLIBCPP_FLAG := +@@ -393,14 +388,14 @@ SHIPFLAGS := -O3 -ggdb2 -falign-function + endif + + ifeq ($(USECLANG),1) +-CC := $(CROSS_COMPILE)clang +-CXX := $(CROSS_COMPILE)clang++ ++CC ?= $(CROSS_COMPILE)clang ++CXX ?= $(CROSS_COMPILE)clang++ + JCFLAGS := -pipe $(fPIC) -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 + # AArch64 needs this flag to generate the .eh_frame used by libunwind JCPPFLAGS := -fasynchronous-unwind-tables JCXXFLAGS := -pipe $(fPIC) -fno-rtti -pedantic DEBUGFLAGS := -O0 -g -DJL_DEBUG_BUILD -fstack-protector-all
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612270959.uBR9xI43018153>