[packages/adapter: 217/631] - quote CC

glen glen at pld-linux.org
Mon Sep 12 19:52:39 CEST 2016


commit 2d74be7eb3073c5b8f8faab38d3723b71e1ec3a8
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sun Nov 6 21:49:05 2005 +0000

    - quote CC
    
    Changed files:
        adapter.awk -> 1.208

 adapter.awk | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index 0c39a12..f489961 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -288,6 +288,10 @@ preamble == 1 {
 		if (/^export[ ]*$/)
 			next
 	}
+
+	if (/CC=%{__cc} /) {
+		sub("CC=%{__cc}", "CC=\"%{__cc}\"")
+	}
 	
 	# use macros
 	$0 = fixedsub("glib-gettextize --copy --force","%{__glib_gettextize}", $0);
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885



More information about the pld-cvs-commit mailing list