[Linedit-devel] [PATCH] Remove hardcoded path to GCC

Ashish SHUKLA ashish.is at lostca.se
Mon Mar 2 02:36:39 UTC 2015


FreeBSD 10.x and later don't have GCC in base system, and rather use
clang, so to make sure it installs fine on those hosts, change the
path to slightly more conventional "/usr/bin/cc".
---
 linedit.asd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/linedit.asd b/linedit.asd
index 103334b..e6b6701 100644
--- a/linedit.asd
+++ b/linedit.asd
@@ -26,7 +26,7 @@
 
 ;;;; C compiler
 
-(defvar *gcc* "/usr/bin/gcc")
+(defvar *gcc* "/usr/bin/cc")
 
 (defvar *gcc-options*
   #-(or darwin macosx)
-- 
2.2.1





More information about the linedit-devel mailing list