summaryrefslogtreecommitdiff
path: root/devel/gnatpython/files/patch-setup__helpers.py
blob: f2f2d841b2fa278f992a12d0112482955b9d17c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- setup_helpers.py.orig	2015-06-21 09:00:45 UTC
+++ setup_helpers.py
@@ -28,7 +28,7 @@ def build_scripts_gnatpython(root_dir=''
                 os.system('gcc -o %sscripts/rlimit %ssrc/rlimit/rlimit-NT.c' %
                           (root_dir, root_dir))
             else:
-                os.system('gcc -o %sscripts/rlimit %ssrc/rlimit/rlimit.c' %
+                os.system('cc -o %sscripts/rlimit %ssrc/rlimit/rlimit.c' %
                           (root_dir, root_dir))
 
             # Update the scripts list