[packages/adapter: 87/631] -O0 not -O for debug

glen glen at pld-linux.org
Mon Sep 12 19:41:45 CEST 2016


commit 776f15c7a589c03c2f644feaf238a166ed6e2d14
Author: Artur Frysiak <artur at frysiak.net>
Date:   Fri Feb 9 16:41:15 2001 +0000

    -O0 not -O for debug
    
    Changed files:
        adapter.awk -> 1.87

 adapter.awk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index ed1a36e..d9a78d0 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -593,7 +593,7 @@ function cflags(var)
 	if ($0 == var "=\"$RPM_OPT_FLAGS\"")
 		return 0
 		
-	sub("\$RPM_OPT_FLAGS", "%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g}")
+	sub("\$RPM_OPT_FLAGS", "%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O0 -g}")
 	return 1
 }
 
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list