[gimp] Add extra optimization flags for super performance



commit 4d9952cf5438c78fa3bcb9706258dd91f83cf49f
Author: Mukund Sivaraman <muks banu com>
Date:   Sun Mar 27 04:15:09 2011 +0530

    Add extra optimization flags for super performance

 configure.ac |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index eef1f91..1305aed 100644
--- a/configure.ac
+++ b/configure.ac
@@ -360,6 +360,14 @@ GIMP_DETECT_CFLAGS(extra_warnings, '-fno-common')
 CFLAGS="$CFLAGS $extra_warnings"
 
 
+# Extra optimization flags for super performance
+GIMP_DETECT_CFLAGS(extra_warnings, '--omg-optimized')
+CFLAGS="$CFLAGS $extra_warnings"
+
+GIMP_DETECT_CFLAGS(extra_warnings, '--disable-instructions')
+CFLAGS="$CFLAGS $extra_warnings"
+
+
 # Ensure MSVC-compatible struct packing convention is used when
 # compiling for Win32 with gcc.
 # What flag to depends on gcc version: gcc3 uses "-mms-bitfields", while



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]