summary refs log tree commit diff
path: root/gnu/packages/gcc.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2017-09-14 11:12:15 +0300
committerEfraim Flashner <efraim@flashner.co.il>2017-09-15 06:36:12 +0300
commit7a7c63085629dfd3c645ecdff43a085f3c2489f2 (patch)
treec0c5ea82e9bf12cb429dfca4c169982eaed5536f /gnu/packages/gcc.scm
parent4072c10bee4ae236d64ed3f0d241cd2741914aa8 (diff)
downloadguix-7a7c63085629dfd3c645ecdff43a085f3c2489f2.tar.gz
gnu: Add gcc-objc++@6.
* gnu/packages/gcc.scm (gcc-objc++@6): New variable.
Diffstat (limited to 'gnu/packages/gcc.scm')
-rw-r--r--gnu/packages/gcc.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index 2a6877ffbf..9f1c7d82ef 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -641,6 +641,15 @@ as the 'native-search-paths' field."
                      (variable "LIBRARY_PATH")
                      (files '("lib" "lib64"))))))
 
+(define-public gcc-objc++-6
+  (custom-gcc gcc-6 "gcc-objc++" '("obj-c++")
+              (list (search-path-specification
+                     (variable "OBJCPLUS_INCLUDE_PATH")
+                     (files '("include")))
+                    (search-path-specification
+                     (variable "LIBRARY_PATH")
+                     (files '("lib" "lib64"))))))
+
 (define-public gcc-objc++ gcc-objc++-4.9)
 
 (define (make-libstdc++-doc gcc)