guix-devel
[Top][All Lists]
Advanced

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

[PATCH 3/4] gnu: Add gcc-objc++-4.9.


From: Ricardo Wurmus
Subject: [PATCH 3/4] gnu: Add gcc-objc++-4.9.
Date: Mon, 16 May 2016 20:14:05 +0200

* gnu/packages/gcc.scm (gcc-objc++-4.9): New variable.
---
 gnu/packages/gcc.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index d8b96c7..53b6c54 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -635,6 +635,15 @@ as the 'native-search-paths' field."
                      (variable "LIBRARY_PATH")
                      (files '("lib" "lib64"))))))
 
+(define-public gcc-objc++-4.9
+  (custom-gcc gcc-4.9 "gcc-objc++" '("obj-c++")
+              (list (search-path-specification
+                     (variable "OBJCPLUS_INCLUDE_PATH")
+                     (files '("include")))
+                    (search-path-specification
+                     (variable "LIBRARY_PATH")
+                     (files '("lib" "lib64"))))))
+
 (define (make-libstdc++-doc gcc)
   "Return a package with the libstdc++ documentation for GCC."
   (package
-- 
2.7.3





reply via email to

[Prev in Thread] Current Thread [Next in Thread]