summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2017-09-14 11:14:36 +0300
committerEfraim Flashner <efraim@flashner.co.il>2017-09-15 06:36:17 +0300
commite05f8d2fb3b31e8099a179a962d5e1a64775388f (patch)
tree075f46bc9c8b78cbe424fcb2ba54e08241a21850
parentce9afe2b3b55263d6d02f2e394ea30878fc1e553 (diff)
downloadguix-e05f8d2fb3b31e8099a179a962d5e1a64775388f.tar.gz
gnu: Add gcc-objc++@7.
* gnu/packages/gcc.scm (gcc-objc++@7): New variable.
-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 453059c8de..e6fb72f210 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -659,6 +659,15 @@ as the 'native-search-paths' field."
                      (variable "LIBRARY_PATH")
                      (files '("lib" "lib64"))))))
 
+(define-public gcc-objc++-7
+  (custom-gcc gcc-7 "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)