[sr-dev] git:3.3: Makefiles.defs: clang compiles to O9

Daniel-Constantin Mierla miconda at gmail.com
Thu Dec 19 16:36:46 CET 2013


Module: sip-router
Branch: 3.3
Commit: 16dcfd515424a23cd0706de64eea822c88df0c58
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=16dcfd515424a23cd0706de64eea822c88df0c58

Author: Marius Zbihlei <marius.zbihlei at 1and1.ro>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Mon Sep 17 17:21:02 2012 +0300

Makefiles.defs: clang compiles to O9

(cherry picked from commit 5273948a6eeb6f6fe878696dce54880cabb0ef7c)

---

 Makefile.defs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile.defs b/Makefile.defs
index 61aac9e..52eb8fc 100644
--- a/Makefile.defs
+++ b/Makefile.defs
@@ -935,9 +935,9 @@ ifeq		($(CC_NAME), clang)
 $(call                          set_if_empty,CPU,athlon64)
 					C_DEFS+=-DCC_GCC_LIKE_ASM
                                         CFLAGS+=-m32
+                                                -O9      \
                                                          \
-                                                         \
-                                                        -mtune=$(CPU)
+                                                -mtune=$(CPU)
                                         LDFLAGS+=-m32
 else			# CC_NAME, clang
 ifeq		($(CC_NAME), icc)
@@ -1031,7 +1031,7 @@ ifeq            ($(CC_NAME), clang)
 $(call                          set_if_empty,CPU,opteron)
 					C_DEFS+=-DCC_GCC_LIKE_ASM
                                         CFLAGS+=-m64 \
-                                                        
+                                                -O9        
                                         LDFLAGS+=-m64
 else      	# CC_NAME, clang
 ifeq		($(CC_NAME), icc)




More information about the sr-dev mailing list