summary refs log tree commit diff
path: root/gnu/packages/gcc.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2016-05-16 20:10:55 +0200
committerRicardo Wurmus <rekado@elephly.net>2016-05-20 15:19:33 +0200
commit2d69c1616d974f45ecdc4977d4501d0ae1dcd634 (patch)
treee922264780037cfef0ec5b81f62690e7fcd8744b /gnu/packages/gcc.scm
parent813efdded15d9382ee8e71287367963f5dc7fd26 (diff)
downloadguix-2d69c1616d974f45ecdc4977d4501d0ae1dcd634.tar.gz
gnu: Add gcc-objc-4.9.
* gnu/packages/gcc.scm (gcc-objc-4.9): 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 740ed51485..64035b3dfe 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -615,6 +615,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" '("objc")
+              (list (search-path-specification
+                     (variable "OBJC_INCLUDE_PATH")
+                     (files '("include")))
+                    (search-path-specification
+                     (variable "LIBRARY_PATH")
+                     (files '("lib" "lib64"))))))
+
 (define-public gcc-objc++-4.8
   (custom-gcc gcc-4.8 "gcc-objc++" '("obj-c++")
               (list (search-path-specification