summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-embedded/yapide/files/yapide-0.1.1-make.patch')
-rw-r--r--dev-embedded/yapide/files/yapide-0.1.1-make.patch56
1 files changed, 56 insertions, 0 deletions
diff --git a/dev-embedded/yapide/files/yapide-0.1.1-make.patch b/dev-embedded/yapide/files/yapide-0.1.1-make.patch
new file mode 100644
index 000000000000..7f5b174a8e1b
--- /dev/null
+++ b/dev-embedded/yapide/files/yapide-0.1.1-make.patch
@@ -0,0 +1,56 @@
+--- YaPIDE-0.1.1/src/src.pro.orig 2007-06-21 21:08:35.000000000 +1000
++++ YaPIDE-0.1.1/src/src.pro 2007-06-21 21:10:09.000000000 +1000
+@@ -6,45 +6,6 @@
+ DEPENDPATH = .
+ TARGET = yapide
+
+-QMAKE_CFLAGS_RELEASE -= -O2
+-QMAKE_CXXFLAGS_RELEASE -= -O2
+-QMAKE_CFLAGS -= -O2
+-QMAKE_CXXFLAGS -= -O2
+-
+-release {
+- contains( QMAKE_CC, gcc ) {
+- message( "Adding release optimizations for gcc" )
+- QMAKE_CFLAGS += -O3 -finline-functions -fexpensive-optimizations \
+- -fstrict-aliasing -fomit-frame-pointer
+- QMAKE_CXXFLAGS += -O3 -finline-functions -fexpensive-optimizations \
+- -fstrict-aliasing -fomit-frame-pointer
+- }
+-}
+-
+-debug {
+- message( "Compiling for debug" )
+-}
+-
+-CPU_YAPIDE = $$system( echo $CPU )
+-
+-contains( CPU_YAPIDE, i686 ) {
+- message( "Configuring for Pentium Pro" )
+- QMAKE_CFLAGS += -march=i686
+- QMAKE_CXXFLAGS += -march=i686
+-}
+-
+-contains( CPU_YAPIDE, Athlon ) {
+- message( "Configuring for Athlon" )
+- QMAKE_CFLAGS += -march=athlon
+- QMAKE_CXXFLAGS += -march=athlon
+-}
+-
+-contains( CPU_YAPIDE, x86_64 ) {
+- message( "Configuring for Athlon64" )
+- QMAKE_CFLAGS += -march=k8
+- QMAKE_CXXFLAGS += -march=k8
+-}
+-
+ HEADERS = \
+ xpm/animation.xpm \
+ xpm/breakpoint.xpm \
+@@ -241,5 +202,5 @@
+ inspectortip.cpp \
+ workspace.cpp
+
+-VERSION = 0.1
+-DESTDIR = ../bin
++VERSION = 0.1.1
++#DESTDIR = ../bin