DragonFly BSD
DragonFly submit List (threaded) for 2011-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[DragonFlyBSD - Submit #2208] (New) [PATCH] Enhancement the support for clang in compilers.conf


From: Juan Francisco Cantero Hurtado via Redmine <bugtracker-admin@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 16 Nov 2011 18:40:45 -0800

Issue #2208 has been reported by Juan Francisco Cantero Hurtado.

----------------------------------------
Submit #2208: [PATCH] Enhancement the support for clang in compilers.conf
http://bugs.dragonflybsd.org/issues/2208

Author: Juan Francisco Cantero Hurtado
Status: New
Priority: Normal
Assignee: 
Category: 
Target version: 


- It should not select the standards.

 - Commented the lines related to clang++. It breaks buildworld.

 - VERSION changed to 4.4.7 for avoid software compiling with g++ 4.1.

 Authors: Sascha Wildner <saw@online.de>
          Juan Francisco Cantero Hurtado <iam@juanfra.info>
---
 etc/defaults/compilers.conf |   18 ++++++++++++------
 1 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/etc/defaults/compilers.conf b/etc/defaults/compilers.conf
index 9952679..3e7526c 100644
--- a/etc/defaults/compilers.conf
+++ b/etc/defaults/compilers.conf
@@ -1,16 +1,22 @@
 # clang from SVN trunk
 #
 clangsvn_CC=/usr/local/bin/clang
-clangsvn_CXX=/usr/local/bin/clang++
-clangsvn_CFLAGS="-fno-color-diagnostics -Qunused-arguments -std=gnu89"
-clangsvn_CXXFLAGS="-fno-color-diagnostics -Qunused-arguments -std=gnu++98"
-clangsvn_VERSION=4.1.2
+clangsvn_CFLAGS="-fno-color-diagnostics -Qunused-arguments"
+# Uncomment this lines for compile C++ code with clang.
+# Disabled by default because clang++ breaks buildworld.
+#clangsvn_CXX=/usr/local/bin/clang++
+#clangsvn_CXXFLAGS="-fno-color-diagnostics -Qunused-arguments"
+clangsvn_VERSION=4.4.7
 
 # clang from pkgsrc
 #
 clang_CC=/usr/pkg/bin/clang
-clang_CFLAGS="-fno-color-diagnostics -Qunused-arguments -std=gnu89"
-clang_VERSION=4.1.2
+clang_CFLAGS="-fno-color-diagnostics -Qunused-arguments"
+# Uncomment this lines for compile C++ code with clang.
+# Disabled by default because clang++ breaks buildworld.
+#clang_CXX=/usr/pkg/bin/clang++
+#clang_CXXFLAGS="-fno-color-diagnostics -Qunused-arguments"
+clang_VERSION=4.4.7
 
 # gnat-aux (i.e. gcc 4.6) from pkgsrc
 #
-- 
Juan Francisco Cantero Hurtado http://juanfra.info


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]