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

Marius Zbihlei marius.zbihlei at 1and1.ro
Mon Sep 17 16:36:08 CEST 2012


Module: sip-router
Branch: master
Commit: 5273948a6eeb6f6fe878696dce54880cabb0ef7c
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=5273948a6eeb6f6fe878696dce54880cabb0ef7c

Author: Marius Zbihlei <marius.zbihlei at 1and1.ro>
Committer: Marius Zbihlei <marius.zbihlei at 1and1.ro>
Date:   Mon Sep 17 17:21:02 2012 +0300

Makefiles.defs: clang compiles to O9

---

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

diff --git a/Makefile.defs b/Makefile.defs
index 3cd31e3..1645c34 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