view gnu/make/patch-default.patch @ 1116:3a40c84f9253

gnu/make: use CC/CXX from build as default
author David Demelier <markand@malikania.fr>
date Fri, 20 Sep 2019 20:33:00 +0200
parents
children 680899f86785
line wrap: on
line source

--- default.c.orig	2019-09-20 14:59:27.355416896 +0200
+++ default.c	2019-09-20 15:00:13.339418309 +0200
@@ -529,9 +529,9 @@
 # endif /* __MSDOS__ */
     "OBJC", "gcc",
 #else
-    "CC", "cc",
-    "CXX", "g++",
-    "OBJC", "cc",
+    "CC", "@CC@",
+    "CXX", "@CXX@",
+    "OBJC", "@CC@",
 #endif
 
     /* This expands to $(CO) $(COFLAGS) $< $@ if $@ does not exist,