summaryrefslogtreecommitdiffstats
path: root/meta/packages/qmake/qmake2-cross/use-lflags-last.patch
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2010-07-02 01:45:15 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-05 13:29:46 +0100
commit6a5a351c7ded3964434aa95efdbfa87352e086e4 (patch)
treeddf11f6178c0f22293bf9c93eddcc74f301c8b77 /meta/packages/qmake/qmake2-cross/use-lflags-last.patch
parenta60863a0a637cc7c96f775bea36cdf0e041fa5d0 (diff)
downloadpoky-6a5a351c7ded3964434aa95efdbfa87352e086e4.tar.gz
qmake2-cross: update the 2.10a recipe
The source tarball filename has changed. Rebased the 0001-fix-mkspecs.patch to the newer code. The versions of the qmake2 is still 2.10a Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Diffstat (limited to 'meta/packages/qmake/qmake2-cross/use-lflags-last.patch')
-rw-r--r--meta/packages/qmake/qmake2-cross/use-lflags-last.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/packages/qmake/qmake2-cross/use-lflags-last.patch b/meta/packages/qmake/qmake2-cross/use-lflags-last.patch
new file mode 100644
index 0000000000..4197dbbf64
--- /dev/null
+++ b/meta/packages/qmake/qmake2-cross/use-lflags-last.patch
@@ -0,0 +1,22 @@
1Index: qtopia-core-opensource-src-4.3.1/qmake/generators/unix/unixmake2.cpp
2===================================================================
3--- qtopia-core-opensource-src-4.3.1.orig/qmake/generators/unix/unixmake2.cpp 2007-10-07 13:45:26.000000000 +0200
4+++ qtopia-core-opensource-src-4.3.1/qmake/generators/unix/unixmake2.cpp 2007-10-07 13:57:09.000000000 +0200
5@@ -416,7 +416,7 @@
6 t << "\n\t" << mkdir_p_asstring(destdir) << "\n\t";
7 if(!project->isEmpty("QMAKE_PRE_LINK"))
8 t << var("QMAKE_PRE_LINK") << "\n\t";
9- t << "$(LINK) $(LFLAGS) -o $(TARGET) " << incr_deps << " " << incr_objs << " $(OBJCOMP) $(LIBS)";
10+ t << "$(LINK) -o $(TARGET) " << incr_deps << " " << incr_objs << " $(OBJCOMP) $(LIBS) $(LFLAGS)";
11 if(!project->isEmpty("QMAKE_POST_LINK"))
12 t << "\n\t" << var("QMAKE_POST_LINK");
13 t << endl << endl;
14@@ -430,7 +430,7 @@
15 t << mkdir_p_asstring(destdir) << "\n\t";
16 if(!project->isEmpty("QMAKE_PRE_LINK"))
17 t << var("QMAKE_PRE_LINK") << "\n\t";
18- t << "$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)";
19+ t << "$(LINK) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS) $(LFLAGS)";
20 if(!project->isEmpty("QMAKE_POST_LINK"))
21 t << "\n\t" << var("QMAKE_POST_LINK");
22 t << endl << endl;