[Midnightbsd-cvs] mports [19918] trunk/Mk/extensions/compiler.mk: magus is having issues with this module.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu Aug 20 22:30:26 EDT 2015


Revision: 19918
          http://svnweb.midnightbsd.org/mports/?rev=19918
Author:   laffer1
Date:     2015-08-20 22:30:25 -0400 (Thu, 20 Aug 2015)
Log Message:
-----------
magus is having issues with this module. try to put a guard in

Modified Paths:
--------------
    trunk/Mk/extensions/compiler.mk

Modified: trunk/Mk/extensions/compiler.mk
===================================================================
--- trunk/Mk/extensions/compiler.mk	2015-08-21 02:20:26 UTC (rev 19917)
+++ trunk/Mk/extensions/compiler.mk	2015-08-21 02:30:25 UTC (rev 19918)
@@ -26,7 +26,7 @@
 # COMPILER_FEATURES:	the list of features supported by the compiler includes the standard C++ library.
 # CHOSEN_COMPILER_TYPE:	can be gcc or clang (type of compiler chosen by the framework)
 
-.if !defined(_INCLUDE_USES_COMPILER_MK)
+.if !defined(_INCLUDE_USES_COMPILER_MK) && defined(BEFOREPORTMK)
 _INCLUDE_USES_COMPILER_MK=	yes
 
 .if empty(compiler_ARGS)
@@ -232,7 +232,7 @@
 CPP=	${LOCALBASE}/bin/clang-cpp34
 CC=	${LOCALBASE}/bin/clang34
 CXX=	${LOCALBASE}/bin/clang++34
-.if ${OSVERSION} < 900033
+.if ${OSVERSION} < 4015
 USE_BINUTILS=	yes
 LDFLAGS+=	-B${LOCALBASE}/bin
 .endif



More information about the Midnightbsd-cvs mailing list