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

login
register
mail settings
Submitter Ricardo Wurmus
Date May 16, 2016, 6:14 p.m.
Message ID <1463422446-10382-3-git-send-email-rekado@elephly.net>
Download mbox | patch
Permalink /patch/12287/
State New
Headers show

Comments

Ricardo Wurmus - May 16, 2016, 6:14 p.m.
* gnu/packages/gcc.scm (gcc-objc++-4.9): New variable.
---
 gnu/packages/gcc.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

Patch

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