summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2017-09-14 11:09:05 +0300
committerEfraim Flashner <efraim@flashner.co.il>2017-09-15 06:36:01 +0300
commitf51d01e1c3c164e63ace62060a0791de09e0ab58 (patch)
treea07a6d7e1d263827b875086d22b458b339e0f04a
parentc105653329bba7e71b960c782515ca23edf83e3f (diff)
downloadguix-f51d01e1c3c164e63ace62060a0791de09e0ab58.tar.gz
gnu: Add gcc-objc@5.
* gnu/packages/gcc.scm (gcc-obj@5): 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 fb2e24721b..563c53f388 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -594,6 +594,15 @@ as the 'native-search-paths' field."
                      (variable "LIBRARY_PATH")
                      (files '("lib" "lib64"))))))
 
+(define-public gcc-objc-5
+  (custom-gcc gcc-5 "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 gcc-objc-4.9)
 
 (define-public gcc-objc++-4.8